From 4926331a6e783a49e89a66d2746327115684c0b6 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 26 Sep 2024 23:26:12 +0300 Subject: [PATCH] ci: attempt fix archive dir --- .gitea/workflows/create-archive.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: