Add --token
This commit is contained in:
parent
4565af62e6
commit
1d0893855e
|
@ -21,7 +21,7 @@ tasks:
|
||||||
export CI_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
export CI_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
# If trunk branch, use --prod, otherwise just deploy
|
# If trunk branch, use --prod, otherwise just deploy
|
||||||
if [ "$CI_BRANCH" = "trunk" ]; then
|
if [ "$CI_BRANCH" = "trunk" ]; then
|
||||||
vercel deploy --prod
|
vercel deploy --prod --token $VERCEL_API_TOKEN
|
||||||
else
|
else
|
||||||
vercel deploy
|
vercel deploy --token $VERCEL_API_TOKEN
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue