staging #80

Merged
esteban merged 35 commits from staging into production 2026-08-03 05:07:52 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit fe365801e9 - Show all commits

View File

@ -37,7 +37,7 @@ jobs:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
source: "dist/*,package.json,ecosystem.config.cjs"
source: "dist/*,package.json,pnpm-lock.yaml,pnpm-workspace.yaml,ecosystem.config.cjs"
target: "${{ env.TARGET_DIR }}"
- name: Restart PM2
@ -50,5 +50,6 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd ${{ env.TARGET_DIR }}
pnpm install --prod
pm2 reload ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env || \
pm2 start ecosystem.config.cjs --env ${{ env.PM2_ENV }} --update-env