autobaan/ecosystem.config.js
Collin Duncan 21495eea58
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed
Changing where the deploy action comes from
2025-04-29 09:41:23 +02:00

19 lines
363 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 autobaan',
},
},
}