Skip to content

Commit

Permalink
zip before release
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-kotulski committed Jan 13, 2025
1 parent 9e7e6c6 commit 632981b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,18 @@ jobs:
with:
pattern: static-doc-*
path: ./release
- name: Echo
- name: Zip
run: |
for dir in ./release/*; do
zip -r "$dir.zip" "$dir"
done
ls ./release
pwd
- name: Upload Release Asset
uses: softprops/action-gh-release@v2
with:
tag_name: "main"
files: |
release/*/*
release/*.zip
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true

0 comments on commit 632981b

Please sign in to comment.