diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index b462c38..59095df 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -30,7 +30,9 @@ jobs: run: | git checkout --orphan gitea-pages git reset --hard - mv site/* . + mv site /tmp/site + rm -rf * + mv /tmp/site/* . git add . git commit -m "Update site - $(date)" git push -f https://${{ secrets.GITHUB_TOKEN }}@gitea.psi.ch/${{ github.repository }}.git gitea-pages