diff --git a/deploy.sh b/deploy.sh index 9261d0d8..dbcafce1 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,8 +1,7 @@ -if [ - "$(git rev-parse --abbrev-ref HEAD)" = "router-upgrade" - ] || [ - "$(git rev-parse --abbrev-ref HEAD)" = "feature/rating" - ]; -then exit 1; -else exit 0; +if [ "$VERCEL_GIT_COMMIT_REF" = "router-upgrade" ] || [ "$VERCEL_GIT_COMMIT_REF" = "feature/rating" ]; then + echo "Building on solid start" + exit 1 +else + echo "Not on solid start" + exit 0 fi