From d0d83b0b5c6b336d0ad154a95a19ac952231b33d Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 4 Jul 2024 14:22:06 +0200 Subject: [PATCH] run on PRs to ensure it is passing --- .github/workflows/website_create_and_deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/website_create_and_deploy.yml b/.github/workflows/website_create_and_deploy.yml index 11c65b2..333349a 100644 --- a/.github/workflows/website_create_and_deploy.yml +++ b/.github/workflows/website_create_and_deploy.yml @@ -4,6 +4,7 @@ name: Create and Deploy Prod HTML site # Includes building automatically when either of the relevant JSON files update on the main branch or on the push of a button on: + pull_request: workflow_dispatch: push: branches: @@ -36,6 +37,7 @@ jobs: # already in the deploy folder. # for now, don't create individual drawer pages - name: Deploy 🚀 + if: github.ref == 'refs/heads/main' uses: JamesIves/github-pages-deploy-action@v4 with: folder: website/deploy # The folder the action should deploy.