Skip to content

Build and create zip - Shimmer Blog #9

Build and create zip - Shimmer Blog

Build and create zip - Shimmer Blog #9

name: Build and create zip - Shimmer Blog
on:
workflow_dispatch:
push:
branches:
- feat/shimmer-blog
jobs:
build_create_zip_shimmer:
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
run: cd src && npm install && npm run build
- name: Create zip
run: zip -r liebling.zip ./* -x 'node_modules/*' -x '*src*'
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: SHIMMER_Blog
path: liebling.zip
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3