Skip to content

Commit

Permalink
Merge pull request #8 from binsarjr/wrong-pnpm-path
Browse files Browse the repository at this point in the history
fix: update pnpm and prisma commands in deploy workflow to use correc…
  • Loading branch information
binsarjr authored Oct 4, 2024
2 parents 9d6bd8d + de8a601 commit f0f6bd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
script: |
cd ${{ secrets.SERVER_CWD }}
git pull origin main
/root/.local/share/pnpm/pnpm i --frozen-lockfil
/root/.local/share/pnpm/pnpx prisma db push
/root/.local/share/pnpm/pnpm run build
/root/.nvm/versions/node/v21.7.1/bin/pnpm i --frozen-lockfil
/root/.nvm/versions/node/v21.7.1/bin/pnpx prisma db push
/root/.nvm/versions/node/v21.7.1/bin/pnpm run build
supervisorctl restart personal-whatsapp-bot

0 comments on commit f0f6bd5

Please sign in to comment.