From d2b4bea6bcc87a775acde3a8dbd329ccffeac35c Mon Sep 17 00:00:00 2001 From: Maxwell Brown Date: Fri, 10 Nov 2023 14:43:22 -0500 Subject: [PATCH] add conditional to deploy job --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fded80c..e27dbdd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: deploy: name: Deploy + if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: build permissions: