Skip to content

Commit

Permalink
feat: Make the run script exit when the migrations fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkor333 authored and Yureien committed Oct 31, 2023
1 parent 2eb9107 commit 62c4eb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

set -e
prisma migrate deploy --schema=./src/lib/server/prisma/schema.prisma
pm2-runtime process.yml

0 comments on commit 62c4eb2

Please sign in to comment.