From 22c81518eacc12b784a003049d5df676213c6344 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 09:20:14 +0000 Subject: [PATCH] Add PR trigger to deploy-pages workflow without deploying on PRs --- .github/workflows/deploy-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 8a2d132..69af439 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -5,6 +5,7 @@ on: branches: - main - master + pull_request: workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages @@ -50,6 +51,7 @@ jobs: uses: actions/upload-pages-artifact@v3 deploy: + if: github.event_name != 'pull_request' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}