Skip to content

Commit

Permalink
Move prisma to build and deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanderneut committed Mar 8, 2024
1 parent 71c3aa5 commit 311452b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
api_location: '.output/server' # Api source code path - optional
output_location: '.output/public' # Built app content directory - optional
###### End of Repository/Build Configurations ######
- name: Run Prisma migrations
run: npx prisma migrate deploy

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Run Prisma migrations
run: npx prisma migrate deploy
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
Expand Down

0 comments on commit 311452b

Please sign in to comment.