Skip to content

Commit 4277d47

Browse files
authored
Update branch condition for build step
1 parent fc9f552 commit 4277d47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
66

7-
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" || "$VERCEL_GIT_COMMIT_REF" == "cms" || "$VERCEL_GIT_COMMIT_REF" == "feat/cms" ]] ; then
7+
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" || "$VERCEL_GIT_COMMIT_REF" == "cms" || $VERCEL_GIT_COMMIT_REF == feat/* ]] ; then
88
# Proceed with the build
99
echo "✅ - Build can proceed"
1010
exit 1;
@@ -13,4 +13,4 @@ else
1313
# Don't build
1414
echo "🛑 - Build cancelled"
1515
exit 0;
16-
fi
16+
fi

0 commit comments

Comments
 (0)