Skip to content

Commit

Permalink
Run GHA only for master branch merges (#104)
Browse files Browse the repository at this point in the history
Signed-off-by: Satyam Zode <[email protected]>
Co-authored-by: Satyam Zode <[email protected]>
  • Loading branch information
satyamz and satyamz authored Nov 26, 2024
1 parent 7a46263 commit 3e891b3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- develop
jobs:
build-and-publish:
name: Build Image
Expand All @@ -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:
Expand Down

0 comments on commit 3e891b3

Please sign in to comment.