This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
feat: Make webhook creation optional (#570) #169
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: Deploy prisma | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- packages/backend/** | |
jobs: | |
deploy-prisma: | |
runs-on: self-hosted | |
steps: | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 17 | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install Fern | |
run: npm install -g fern-api | |
- name: Install Dependencies | |
run: yarn workspace @revertdotdev/backend install | |
- name: Deploy prisma migrations | |
run: yarn workspace @revertdotdev/backend db-deploy | |
env: | |
PGSQL_URL: ${{ secrets.PGSQL_URL }} |