Skip to content

Commit 2b2dd98

Browse files
committed
Update vercel.json to run prisma migrate deploy before build
1 parent cd99cf9 commit 2b2dd98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"installCommand": "npm ci",
3-
"buildCommand": "npm run build",
3+
"buildCommand": "npx prisma migrate deploy && npm run build",
44
"outputDirectory": ".next"
55
}

0 commit comments

Comments
 (0)