Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRuen committed Jul 1, 2024
1 parent fc83bb8 commit 1d965fb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ jobs:
- name: Build the project
run: npm run build

- name: Archive the repository excluding node_modules
run: zip -r project-build.zip . -x "node_modules/*"
- name: Prepare zip folder
run: |
mkdir cidgravitygateway
rsync -av --progress . ./cidgravitygateway --exclude node_modules --exclude .git --exclude cidgravitygateway
- name: Archive the artifacts
run: |
cd cidgravitygateway
zip -r ../project-build.zip .
cd ..
- name: Create GitHub Release
id: create_release
Expand Down

0 comments on commit 1d965fb

Please sign in to comment.