Skip to content

Commit 4ebd311

Browse files
authored
Merge pull request #209 from codeunia-dev/production-readiness-improvements
fix: Add --project flag to Vercel deployment commands
2 parents f109081 + d2d0232 commit 4ebd311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ jobs:
267267
# Remove any existing .vercel directory to avoid conflicts
268268
rm -rf .vercel
269269
# Deploy directly using scope and project flags
270-
vercel --token ${{ secrets.VERCEL_TOKEN }} --scope ${{ secrets.VERCEL_ORG_ID }} --yes
270+
vercel --token ${{ secrets.VERCEL_TOKEN }} --scope ${{ secrets.VERCEL_ORG_ID }} --project ${{ secrets.VERCEL_PROJECT_ID }} --yes
271271
env:
272272
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
273273
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
@@ -302,7 +302,7 @@ jobs:
302302
# Remove any existing .vercel directory to avoid conflicts
303303
rm -rf .vercel
304304
# Deploy directly using scope and project flags
305-
vercel --prod --token ${{ secrets.VERCEL_TOKEN }} --scope ${{ secrets.VERCEL_ORG_ID }} --yes
305+
vercel --prod --token ${{ secrets.VERCEL_TOKEN }} --scope ${{ secrets.VERCEL_ORG_ID }} --project ${{ secrets.VERCEL_PROJECT_ID }} --yes
306306
env:
307307
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
308308
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)