diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a36d79..e7f7588 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,10 @@ on: branches: - main - master + pull_request: + branches: + - main + - master # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -58,6 +62,7 @@ jobs: deploy: name: Deploy to GitHub Pages + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}