Skip to content

Commit 6e22474

Browse files
authored
Merge pull request #214 from codeunia-dev/production-readiness-improvements
fix: Use vercel build instead of npm run build for proper prebuilt de…
2 parents 342437d + dff24ad commit 6e22474

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ jobs:
299299
run: npm ci
300300

301301
- name: Build for Vercel
302-
run: |
303-
npm run build
302+
run: vercel build --token ${{ secrets.VERCEL_TOKEN }}
304303
env:
305304
NODE_ENV: production
306305
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
@@ -378,8 +377,7 @@ jobs:
378377
run: npm ci
379378

380379
- name: Build for Vercel
381-
run: |
382-
npm run build
380+
run: vercel build --token ${{ secrets.VERCEL_TOKEN }}
383381
env:
384382
NODE_ENV: production
385383
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}

0 commit comments

Comments
 (0)