From 787e10babf39fe3cc9b0fc598db0addfcd60aae1 Mon Sep 17 00:00:00 2001 From: Angus Gibson Date: Tue, 11 Jun 2024 21:20:48 +1000 Subject: [PATCH] Only run deploy on main --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fee345..2064c27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,6 +85,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build + if: github.ref == 'refs/heads/main' environment: name: github-pages steps: