We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2b3cb commit 74deafaCopy full SHA for 74deafa
1 file changed
.github/workflows/deploy-vercel.yml
@@ -34,8 +34,8 @@ jobs:
34
run: |
35
set +e
36
37
- # 1) Initial production deploy (capture logs)
38
- npx vercel --prod --yes \
+ # 1) Initial production deploy with --force flag to skip cache
+ npx vercel --prod --yes --force \
39
--token "$VERCEL_TOKEN" \
40
--scope "$VERCEL_ORG_ID" > deploy.log 2>&1
41
EXIT_CODE=$?
@@ -48,7 +48,7 @@ jobs:
48
if [ $EXIT_CODE -ne 0 ]; then
49
if grep -q "Cannot find module '@repo/types'" deploy.log; then
50
echo "❗️ Initial deployment failed due to @repo/types module error. Redeploying..."
51
- npx vercel redeploy "$DEPLOY_URL" \
+ npx vercel redeploy "$DEPLOY_URL" --force \
52
53
--scope "$VERCEL_ORG_ID"
54
REDO_EXIT=$?
0 commit comments