This commit is contained in:
parent
ab67a4150c
commit
883dee35bf
1 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue