fix: make pm2 name match deployment env (#46035)

This commit is contained in:
Oliver Eyton-Williams
2022-05-18 10:10:29 +02:00
committed by GitHub
parent f64ddd7bda
commit 1c8a0778a1

View File

@@ -14,7 +14,7 @@ module.exports = {
max_memory_restart: '600M',
instances: 'max',
exec_mode: 'cluster',
name: 'org'
name: env.DEPLOYMENT_ENV === 'staging' ? 'dev' : 'org'
}
]
};