Commit 8f16d2d5 authored by SaoBien's avatar SaoBien

upd

parent 2993f3a4
Pipeline #51886 passed with stage
in 22 seconds
......@@ -3,11 +3,9 @@ stages:
deploy_job:
stage: deploy
before_script:
- npm install -g vercel 2>/dev/null
script:
- |
DEPLOY_OUTPUT=$(vercel deploy \
DEPLOY_OUTPUT=$(npx --yes vercel deploy \
--token=$VERCEL_TOKEN \
--yes \
2>&1)
......@@ -25,7 +23,7 @@ deploy_job:
exit 1
fi
vercel alias set "$DEPLOY_URL" staging-$CI_PROJECT_NAME.vercel.app \
npx --yes vercel alias set "$DEPLOY_URL" staging-$CI_PROJECT_NAME.vercel.app \
--token=$VERCEL_TOKEN
echo "Staging URL: https://staging-$CI_PROJECT_NAME.vercel.app"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment