- updated actions to v4 in workflow
Some checks failed
Vercel Production Deployment / Deploy-Production (push) Failing after 1m19s

- Set up Postgres db on vercel
This commit is contained in:
ChrQR 2024-05-13 10:15:55 +02:00
parent 93f8d485de
commit 0ae54154e0
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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 {