diff options
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r-- | ecosystem.config.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js index bcb74c7..d76aa26 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,7 +1,7 @@ module.exports = { apps: [ { - name: 'BushBot', + name: 'bush-bot', script: 'yarn', args: 'start', out_file: '../bushbot.log', @@ -15,7 +15,7 @@ module.exports = { wait_ready: true }, { - name: 'BushBot-Beta', + name: 'bush-bot-beta', script: 'yarn', args: 'start', out_file: '../bushbot-beta.log', @@ -37,7 +37,7 @@ module.exports = { 'ref': 'origin/master', 'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git', 'path': '/code/bush-bot', - 'post-deploy': 'yarn install' + 'post-deploy': 'yarn install && yarn build && yarn start ecosystem.config.js --only bush-bot' }, beta: { 'user': 'pi', @@ -45,7 +45,7 @@ module.exports = { 'ref': 'origin/beta', 'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git', 'path': '/code/bush-bot-beta', - 'post-deploy': 'yarn install' + 'post-deploy': 'yarn install && yarn build && yarn start ecosystem.config.js --only bush-bot-beta' } } }; |