Build and create zip - IOTA Blog #25
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and create zip - IOTA Blog | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - feat/iota-blog | |
| jobs: | |
| build_create_zip_iota: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js 20 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies && build production | |
| run: cd src && npm install && npm run production | |
| - name: Unzip file | |
| run: unzip -o liebling.zip -d ./ | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: IOTA_Blog | |
| path: liebling.zip | |
| - name: Download all workflow run artifacts | |
| uses: actions/download-artifact@v4 |