diff --git a/.gitea/workflows/create-archive.yml b/.gitea/workflows/create-archive.yml index 2245e7c..416ec15 100644 --- a/.gitea/workflows/create-archive.yml +++ b/.gitea/workflows/create-archive.yml @@ -23,7 +23,10 @@ jobs: git lfs checkout - run: | 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 - uses: https://gitea.com/actions/gitea-release-action@v1 with: