feat: add onboarding email w/ loops (#326) #55
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: 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 }} |