diff --git a/.forgejo/workflows/build-site.yaml b/.forgejo/workflows/build-site.yaml index e6b43af..cf87bb9 100644 --- a/.forgejo/workflows/build-site.yaml +++ b/.forgejo/workflows/build-site.yaml @@ -12,10 +12,9 @@ jobs: - name: Build the site run: nix-build - - name: Update dependencies and open PR if necessary + - name: Pushing site to pages branch run: | - shopt -s extglob - rm -rf -- !(result) + find . -mindepth 1 ! -name 'result' -exec rm -rf {} + cp -r result/* . rm result git switch -C pages