Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

feat: Make webhook creation optional (#570) #169

feat: Make webhook creation optional (#570)

feat: Make webhook creation optional (#570) #169

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