Skip to content

Commit 04c14a2

Browse files
committed
Add vercel script deployment
1 parent 7a66ede commit 04c14a2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/vercel-deploy.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
4+
5+
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" ]] ; then
6+
echo "🛑 - Build cancelled"
7+
exit 0;
8+
else
9+
echo "✅ - Build can proceed"
10+
exit 1;
11+
fi

0 commit comments

Comments
 (0)