- updated actions to v4 in workflow
Some checks failed
Vercel Production Deployment / Deploy-Production (push) Failing after 1m19s
Some checks failed
Vercel Production Deployment / Deploy-Production (push) Failing after 1m19s
- Set up Postgres db on vercel
This commit is contained in:
parent
93f8d485de
commit
0ae54154e0
@ -10,7 +10,7 @@ jobs:
|
||||
Deploy-Production:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Vercel CLI
|
||||
run: npm install --global vercel@latest
|
||||
- name: Pull Vercel Environment Information
|
||||
|
@ -6,8 +6,9 @@ generator client {
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "mysql"
|
||||
url = env("DATABASE_URL")
|
||||
provider = "postgresql"
|
||||
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
|
||||
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
|
||||
}
|
||||
|
||||
model Post {
|
||||
|
Loading…
Reference in New Issue
Block a user