autobaan/ecosystem.config.js
Collin Duncan 543a8c4ada
All checks were successful
ci/woodpecker/push/test-and-deploy Pipeline was successful
adding ecosystem config file to post-deploy step
2025-04-29 10:22:23 +02:00

20 lines
394 B
JavaScript

module.exports = {
apps: [
{
name: 'autobaan',
script: 'npm',
args: 'run start',
},
],
deploy: {
production: {
user: 'root',
host: ['autobaan'],
ref: 'origin/deploy_test',
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
path: '/root/autobaan',
'post-deploy':
'npm install && pm2 startOrRestart ecosystem.config.js --name autobaan',
},
},
}