Skip to content

Commit

Permalink
fixing workflow...
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeetree committed Feb 20, 2025
1 parent d60fa09 commit 2c08693
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@ jobs:
- name: Make release
run: |
set -e
tagname=$(git describe --tags --abbrev=0)
mv "build" "raidoc-${tagname}-web"
tar cf - "raidoc-${tagname}-web" | zstd --compress --ultra -20 --threads=0 - -o "raidoc-${tagname}-web.tar.zst"
mv "raidoc-${tagname}-web" "build"
ls -lah
set +e
# FIXME there's probably a code injection
# vuln somewhere in these horrible shards of shell code,
# but oh well, let's just say we trust
# whoever has push access to this repo

- name: Upload release artifact
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 2c08693

Please sign in to comment.