Merge pull request #11 from AloyBranCheung/dev #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prisma Migrate Deploy | |
on: | |
push: | |
branches: [main, master] | |
jobs: | |
Prisma: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install node_modules | |
run: yarn install | |
- name: Prisma Migrate Deploy | |
run: yarn prisma migrate deploy | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} |