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 }}