Skip to content

Commit 4ae6d34

Browse files
committed
prisma generate on deploy
1 parent 76db5e6 commit 4ae6d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
- name: Run migrations
1919
shell:
20-
cmd: "source /home/deploy/.nvm/nvm.sh && nvm exec default npx prisma migrate deploy"
20+
cmd: "source /home/deploy/.nvm/nvm.sh && nvm exec default npx prisma migrate deploy && nvm exec default npx prisma generate"
2121
chdir: /home/{{ domain }}
2222
args:
2323
executable: /bin/bash

0 commit comments

Comments
 (0)