Skip to content

Commit

Permalink
Update migrate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maticzav committed May 2, 2023
1 parent 76c02a2 commit 47d791a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Migrate TheSocialNetwork Database

on:
push:
paths:
- 'examples/thesocialnetwork/prisma/**'
branches:
- main

Expand All @@ -17,11 +19,11 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install dependencies
run: yarn workspaces focus tsn-server

- name: Deploy Migration
run: yarn workspace tsn-server deploy
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}

0 comments on commit 47d791a

Please sign in to comment.