Skip to content

Commit

Permalink
chore: update prepare-for-staging-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Mar 4, 2024
1 parent 04e1c6a commit d1102a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
cd rudder-devops
BRANCH_NAME="shared-transformer-$TAG_NAME"
echo $BRANCH_NAME
if [ `git ls-remote --heads origin $BRANCH_NAME 2>/dev/null` ]
if [ -n `git ls-remote --heads origin $BRANCH_NAME 2>/dev/null` ]
then
echo "Staging deployment branch already exists!"
else
Expand Down

0 comments on commit d1102a2

Please sign in to comment.