Add missing production condition for deploy script
This commit is contained in:
parent
39a7a2240f
commit
8b4ce91fef
|
@ -17,6 +17,9 @@ if [ "$GITHUB_ACCESS_TOKEN" == "" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We add an exception to test on staging
|
# We add an exception to test on staging
|
||||||
|
if [ "$VERCEL_GIT_COMMIT_REF" == "production" ]; then
|
||||||
|
BRANCH_TO_CLONE="-b $VERCEL_GIT_COMMIT_REF"
|
||||||
|
fi
|
||||||
if [ "$VERCEL_GIT_COMMIT_REF" == "staging" ]; then
|
if [ "$VERCEL_GIT_COMMIT_REF" == "staging" ]; then
|
||||||
BRANCH_TO_CLONE="-b $VERCEL_GIT_COMMIT_REF"
|
BRANCH_TO_CLONE="-b $VERCEL_GIT_COMMIT_REF"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user