diff --git a/.forgejo/workflows/build-site.yaml b/.forgejo/workflows/build-site.yaml index 486f291..b0f19dc 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' ! -name '.git' -exec rm -rf {} + + find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name 'result' -exec rm -rf {} + ls -a cp -r result/* . rm result