Skip to content

fix: ensure react/next/vue sdks get the right cdn path from env (#334) #60

fix: ensure react/next/vue sdks get the right cdn path from env (#334)

fix: ensure react/next/vue sdks get the right cdn path from env (#334) #60

name: Deploy prisma
on:
push:
branches:
- main
# paths:
# - packages/backend/**
jobs:
deploy-prisma:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 17
- name: Install Yarn
run: npm install -g yarn
- name: Install Fern
run: npm install -g fern-api
- name: Install Dependencies
run: yarn install
- name: Deploy prisma migrations
run: yarn workspace @revertdotdev/backend db-deploy
env:
PGSQL_URL: ${{ secrets.PGSQL_URL }}