File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 5757 run : |
5858 ssh prod 'cd /opt/app-backup && pnpm install --frozen-lockfile && pnpm exec prisma generate && rm -rf dist && pnpm build'
5959
60- - name : Prisma migrate (only when schema changed)
61- if : steps.paths-filter.outputs.prisma == 'true'
60+ - name : Deploy Docker services
6261 run : |
63- ssh prod 'cd /opt/app-backup && pnpm exec prisma migrate deploy'
64-
65- - name : Restart PM2 Application (promptplace-api)
66- run : |
67- ssh prod 'export PATH=$PATH:/home/ubuntu/.local/share/pnpm && pm2 restart promptplace-api'
68-
69- - name : Stop PM2 app (one-time)
70- run : |
71- ssh prod 'pm2 delete promptplace || true'
62+ ssh prod 'cd /opt/app-backup && sudo docker compose -f docker-compose.yml up -d --build app caddy'
You can’t perform that action at this time.
0 commit comments