name: build site on: push: branches: - main jobs: build_site: runs-on: nix steps: - uses: actions/checkout@v3 - name: Build the site run: nix-build - name: Update dependencies and open PR if necessary run: | cp -r results/* . rm result git switch -C pages git add * git config user.name "DGNum Chores" git config user.email "tech@dgnum.eu" git commit --message "chore(npins): Update" git push --set-upstream origin pages --force