From 3e891b30a1bc666d6decc292511c89284f5a53bd Mon Sep 17 00:00:00 2001 From: Satyam Zode <5508956+satyamz@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:50:08 +0530 Subject: [PATCH] Run GHA only for master branch merges (#104) Signed-off-by: Satyam Zode Co-authored-by: Satyam Zode --- .github/workflows/build-and-push-image.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build-and-push-image.yml b/.github/workflows/build-and-push-image.yml index 6277622..5b04e81 100644 --- a/.github/workflows/build-and-push-image.yml +++ b/.github/workflows/build-and-push-image.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - develop jobs: build-and-publish: name: Build Image @@ -30,11 +29,7 @@ jobs: - name: Set repository run: | - if [[ $GITHUB_REF_NAME == 'master' ]]; then - echo "RECOVERY_SIGNER_FIREBASE_AUTH=vibrant/prd/recoverysigner-firebase-auth" >> "$GITHUB_ENV" - else - echo "RECOVERY_SIGNER_FIREBASE_AUTH=vibrant/dev/recoverysigner-firebase-auth" >> "$GITHUB_ENV" - fi + echo "RECOVERY_SIGNER_FIREBASE_AUTH=vibrant/dev/recoverysigner-firebase-auth" >> "$GITHUB_ENV" - name: Build and publish image env: