Update pm2 action
Some checks failed
Deploy / deploy (push) Failing after 11s

This commit is contained in:
Leonardo Murça 2025-06-04 19:16:11 -03:00
parent 5e3f1a071c
commit 94383cb5fc

View file

@ -24,7 +24,7 @@ module.exports = {
path: '/home/deployer/embroidery-viewer',
'pre-deploy': 'rm package-lock.json && npm i',
'post-deploy':
'npm run build && pm2 reload ecosystem.config.cjs --only acelera-alagoas-prod --env production && pm2 save',
'npm run build && pm2 reload ecosystem.config.cjs --only embroidery-viewer --env production && pm2 save',
env: {
PORT: 7017,
NODE_ENV: 'production',