Skip to content

feat: fix pipeline branch 2 #4

feat: fix pipeline branch 2

feat: fix pipeline branch 2 #4

name: Prisma Migrate
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Setup Environment
run: export DATABASE_URL=${{ secrets.DEPLOY_DATABASE_URL }}
- name: Migration
run: yarn prisma migrate deploy