ci(netlify): set up database generation and seeding for serverless deployment

This commit is contained in:
FalahMobile
2026-07-08 19:15:41 +08:00
parent 0cacc4fa1a
commit 5ef605d550
3 changed files with 58 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[build]
command = "npm run build"
command = "npx prisma db push && node scripts/seed-db.js && npm run build"
publish = ".next"
[[plugins]]