diff --git a/.forgejo/workflows/build-site.yaml b/.forgejo/workflows/build-site.yaml index b0f19dc..9afae75 100644 --- a/.forgejo/workflows/build-site.yaml +++ b/.forgejo/workflows/build-site.yaml @@ -14,11 +14,11 @@ jobs: - name: Pushing site to pages branch run: | + git switch -C pages find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name 'result' -exec rm -rf {} + ls -a cp -r result/* . rm result - git switch -C pages git add * git config user.name "DGNum Deploy"