Skip to content

Commit 65f0e61

Browse files
committed
refactor: add main branch back into the should-vercel-build script.
1 parent c3f0775 commit 65f0e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
44

55
## Do not automatically trigger build when pull-requesting into `deploy` branch.
6-
if [[ "$VERCEL_GIT_COMMIT_REF" == "candidate/"* ]] ; then
6+
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" || "$VERCEL_GIT_COMMIT_REF" == "candidate/"* ]] ; then
77
# Proceed with the build.
88
echo "✅ - Preview build can proceed"
99
exit 1;

0 commit comments

Comments
 (0)