Add --token

This commit is contained in:
Gabriel Simmer 2023-05-05 11:18:30 +01:00
parent 4565af62e6
commit 1d0893855e
Signed by: arch
GPG key ID: C81B106D46C5B875

View file

@ -21,7 +21,7 @@ tasks:
export CI_BRANCH=$(git rev-parse --abbrev-ref HEAD)
# If trunk branch, use --prod, otherwise just deploy
if [ "$CI_BRANCH" = "trunk" ]; then
vercel deploy --prod
vercel deploy --prod --token $VERCEL_API_TOKEN
else
vercel deploy
vercel deploy --token $VERCEL_API_TOKEN
fi