diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d8c382d..b4191a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,8 @@ on: # Runs on pushes targeting the default branch push: branches: ['main'] + pull_request: + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -61,6 +63,7 @@ jobs: deploy: needs: build-site runs-on: ubuntu-latest + if: github.event_name == 'push' environment: name: github-pages