Skip to content

Use prisma to connect to dynamic neon postgres databases #7

Use prisma to connect to dynamic neon postgres databases

Use prisma to connect to dynamic neon postgres databases #7

Workflow file for this run

name: Preview Environment
env:
VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
pull_request:
types: [opened, synchronize, closed]
branches:
- main
jobs:
deploy:
if: ${{ github.event.action == 'opened' || github.event.action == 'synchronize' }}
runs-on: ubuntu-latest
steps:
- uses: snaplet/[email protected]
delete:
if: ${{ github.event.action == 'closed' }}
runs-on: ubuntu-latest
steps:
- uses: snaplet/[email protected]
with:
delete: true