ci: add prisma generate step after deploy
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 41s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 41s
This commit is contained in:
parent
903474b7c2
commit
b5d5fb357f
@ -69,6 +69,10 @@ jobs:
|
||||
rsync -av \
|
||||
/tmp/api-server/package.json /opt/zhixi/backend/package.json
|
||||
|
||||
- name: Generate Prisma client
|
||||
run: |
|
||||
cd /opt/zhixi/backend && npx prisma generate
|
||||
|
||||
- name: Restart API service
|
||||
run: |
|
||||
sudo systemctl restart zhixi-api
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user