ci: attempt fix archive dir
All checks were successful
create archive with lfs / tag (push) Successful in 9s

This commit is contained in:
dusk 2024-09-26 23:26:12 +03:00
parent f99a6315b7
commit 4926331a6e
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -23,7 +23,10 @@ jobs:
git lfs checkout git lfs checkout
- run: | - run: |
sourcepath="$(basename $(pwd))" sourcepath="$(basename $(pwd))"
(cd .. && tar --exclude='./.git' -cvzf source.tgz $sourcepath) cd ..
cp -r $sourcepath website && rm -rf website/.git
tar -cvzf source.tgz website
cd $sourcepath
- run: du -sh ../source.tgz - run: du -sh ../source.tgz
- uses: https://gitea.com/actions/gitea-release-action@v1 - uses: https://gitea.com/actions/gitea-release-action@v1
with: with: