Skip to content

Commit

Permalink
feat(angular-universal-vercel): dont wait for completion
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev committed Mar 12, 2024
1 parent 7867fbd commit 707bb20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions angular-universal-vercel/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ cd "/app"
if [ "$INPUT_PROD" = "true" ]
then
echo "Deploy to Vercel (Prod)"
DEPLOY_URL=$(VERCEL_ORG_ID=$INPUT_VERCEL_ORG VERCEL_PROJECT_ID=$INPUT_VERCEL_PROJECT_ID npx vercel deploy --token=$INPUT_VERCEL_TOKEN --prod)
DEPLOY_URL=$(VERCEL_ORG_ID=$INPUT_VERCEL_ORG VERCEL_PROJECT_ID=$INPUT_VERCEL_PROJECT_ID npx vercel deploy --token=$INPUT_VERCEL_TOKEN --prod --no-wait)
echo "url=$DEPLOY_URL" >> $GITHUB_OUTPUT
else
echo "Deploy to Vercel"
DEPLOY_URL=$(VERCEL_ORG_ID=$INPUT_VERCEL_ORG VERCEL_PROJECT_ID=$INPUT_VERCEL_PROJECT_ID npx vercel deploy --token=$INPUT_VERCEL_TOKEN)
DEPLOY_URL=$(VERCEL_ORG_ID=$INPUT_VERCEL_ORG VERCEL_PROJECT_ID=$INPUT_VERCEL_PROJECT_ID npx vercel deploy --token=$INPUT_VERCEL_TOKEN --no-wait)
echo "url=$DEPLOY_URL" >> $GITHUB_OUTPUT
fi

0 comments on commit 707bb20

Please sign in to comment.