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 4786f9f commit d60fa09
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
#
# And y'all thought docker was bloat lol
run: |
set -e
sudo apt install graphviz zstd
python -m venv venv
source venv/bin/activate
python -m pip install -e .
python -m pip install raimad
python -m raidoc build
set +e
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand All @@ -43,9 +45,11 @@ jobs:

- name: Make release
run: |
mv build raidoc_$tagname_web
tar cf - build | zstd --compress --ultra -20 --threads=0 - -o raidoc_$tagname_web.tar.zst
mv raidoc_$tagname_web build
set -e
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"
set +e
- name: Upload release artifact
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit d60fa09

Please sign in to comment.