Closed masted closed 7 years ago
What does it mean message? while I run pm2 deploy production with such config: (pm2 v2.4.2)
pm2 deploy production
ecosystem.js:
module.exports = { apps : [ { name : "skills-client", script : "server/index.js", env_production : { NODE_ENV: "production" } } ], deploy : { production : { user : "user", host : "rdev", ref : "origin/master", repo : "https://github.com/majexa/skills-client.git", path : "/home/user/123", "post-deploy" : "pm2 startOrRestart ecosystem.js --env production" } } }
Did you figure this out? I'm getting the same error.
please follow the documentation.
What does it mean message? while I run
pm2 deploy production
with such config: (pm2 v2.4.2)ecosystem.js: