Compare commits

...

2 Commits

Author SHA1 Message Date
Esteban Paz affbc47bfd Merge pull request 'create corepack enable and pnpm install --prod' (#37) from create_form into staging
Deploy cdrdpyj / deploy (push) Failing after 53s Details
Reviewed-on: #37
2026-07-24 20:16:36 +00:00
Esteban Paz 76f3246a43 create corepack enable and pnpm install --prod 2026-07-24 15:16:07 -05:00
1 changed files with 4 additions and 1 deletions

View File

@ -47,9 +47,12 @@ jobs:
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
set -e
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
corepack enable
corepack prepare pnpm@11 --activate
cd ${{ env.TARGET_DIR }}
pnpm install --prod
pnpm install --prod 2>&1
pm2 reload ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env || \
pm2 start ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env