diff --git a/.forgejo/workflows/build-site.yaml b/.forgejo/workflows/build-site.yaml index cf87bb9..19a204c 100644 --- a/.forgejo/workflows/build-site.yaml +++ b/.forgejo/workflows/build-site.yaml @@ -14,7 +14,7 @@ jobs: - name: Pushing site to pages branch run: | - find . -mindepth 1 ! -name 'result' -exec rm -rf {} + + find . -mindepth 1 ! -name 'result' ! -name '.git' -exec rm -rf {} + cp -r result/* . rm result git switch -C pages