Updaet name
Some checks are pending
Deploy / deploy (push) Waiting to run

This commit is contained in:
Leonardo Murça 2025-06-05 00:07:08 -03:00
parent ab67a4150c
commit 883dee35bf

View file

@ -11,7 +11,7 @@ module.exports = {
max_memory_restart: '1G', max_memory_restart: '1G',
env: { env: {
NODE_ENV: 'production', NODE_ENV: 'production',
PORT: 7280, PORT: 7281,
}, },
}, },
], ],
@ -25,9 +25,9 @@ module.exports = {
path: '/home/deployer/embroidery-viewer', path: '/home/deployer/embroidery-viewer',
'pre-deploy': 'rm package-lock.json && npm i', 'pre-deploy': 'rm package-lock.json && npm i',
'post-deploy': 'post-deploy':
'npm run build && pm2 reload ecosystem.config.cjs --only embroidery-viewer --env production && pm2 save', 'npm run build && pm2 reload ecosystem.config.cjs --only embroidery-viewer-prod --env production && pm2 save',
env: { env: {
PORT: 7280, PORT: 7281,
NODE_ENV: 'production', NODE_ENV: 'production',
}, },
}, },