From e7e5795531e5d0608694694573644d319e58337b Mon Sep 17 00:00:00 2001 From: Calvin Tallent Date: Tue, 20 Jan 2026 08:59:36 -0800 Subject: [PATCH 1/2] Let actions run on pull requests as well as pushes to main. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d8c382d..de5a10d 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: From 4b536615ef6c7f9f6b0e9c1d5b08ee964e168faf Mon Sep 17 00:00:00 2001 From: Calvin Tallent Date: Tue, 20 Jan 2026 09:10:39 -0800 Subject: [PATCH 2/2] Only deploy site on push/PR merge, but build on all pushes and pull requests. --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index de5a10d..b4191a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,6 +63,7 @@ jobs: deploy: needs: build-site runs-on: ubuntu-latest + if: github.event_name == 'push' environment: name: github-pages