Skip to content

Commit

Permalink
fix: update deploy workflow to force install pnpm and ensure pnpm-loc…
Browse files Browse the repository at this point in the history
…k.yaml is correctly checked out during deployment
  • Loading branch information
binsarjr committed Oct 4, 2024
1 parent f0f6bd5 commit 1b9026a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
script: |
cd ${{ secrets.SERVER_CWD }}
git pull origin main
/root/.nvm/versions/node/v21.7.1/bin/pnpm i --frozen-lockfil
/root/.nvm/versions/node/v21.7.1/bin/pnpm i --force
/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
git checkout -- pnpm-lock.yaml

0 comments on commit 1b9026a

Please sign in to comment.