Skip to content

Commit

Permalink
ci: 🎡 perform web deploy with prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
william-monroy committed Nov 27, 2023
1 parent 556ad33 commit 8ed9b46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ jobs:
run: |
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no [email protected] "cd apps/web && pnpm install"
- name: Prisma generate
run: |
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no [email protected] "cd apps/web && npx prisma generate"
- name: Start server
run: |
sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no [email protected] "cd apps/web && pm2 start pnpm --name "web" -- start"
Expand Down

0 comments on commit 8ed9b46

Please sign in to comment.