diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 186631ff..d8e0e6e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,7 @@ jobs: uses: actions/checkout@v4 - name: Setup GitHub Pages + if: github.event_name != 'pull_request' uses: actions/configure-pages@v4 - name: Install Nix (with flakes and nix-command enabled) @@ -191,11 +192,13 @@ jobs: compression-level: 0 - name: Upload generated documentation (book) as GitHub Pages artifact + if: github.event_name != 'pull_request' uses: actions/upload-pages-artifact@v3 with: path: public - name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' id: deployment uses: actions/deploy-pages@v4