diff --git a/ecosystem.config.js b/ecosystem.config.js index 2f7d9f6..a3adbed 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -13,8 +13,7 @@ module.exports = { ref: 'origin/main', repo: 'https://fred.collinduncan.com/collin/autobaan.git', path: '/root/autobaan', - 'post-setup': 'npm install', - 'pre-deploy': 'npm run build', + 'pre-deploy': 'npm install && npm run build', 'post-deploy': 'GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env', },