From 061544bb871ed0c045b8502ffe7aa97c57a4e4c5 Mon Sep 17 00:00:00 2001 From: Gregory Campbell <15807475+gjcampbell777@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:55:49 -0400 Subject: [PATCH] Add condition to deploy step in workflow --- .github/workflows/amplify-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/amplify-deploy.yml b/.github/workflows/amplify-deploy.yml index d52a3a9f0..b3e5feba5 100644 --- a/.github/workflows/amplify-deploy.yml +++ b/.github/workflows/amplify-deploy.yml @@ -34,6 +34,8 @@ jobs: # Deployment (Only runs if 'test' passes) deploy: runs-on: ubuntu-latest + needs: test + if: github.event_name == 'push' steps: - name: Trigger webhook using curl