- 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:
|
Deploy-Production:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Vercel CLI
|
- name: Install Vercel CLI
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
- name: Pull Vercel Environment Information
|
- name: Pull Vercel Environment Information
|
||||||
|
@ -6,8 +6,9 @@ generator client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
provider = "mysql"
|
provider = "postgresql"
|
||||||
url = env("DATABASE_URL")
|
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
|
||||||
|
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
|
||||||
}
|
}
|
||||||
|
|
||||||
model Post {
|
model Post {
|
||||||
|
Loading…
Reference in New Issue
Block a user