Unitech / pm2-deploy

Deploy part of PM2
http://pm2.keymetrics.io/docs/usage/deployment/
MIT License
178 stars 71 forks source link

Error "Not any default deployment file exists" #129

Closed masted closed 7 years ago

masted commented 7 years ago

What does it mean message? while I run pm2 deploy production with such config: (pm2 v2.4.2)

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"
    }
  }
}
pajtai commented 6 years ago

Did you figure this out? I'm getting the same error.

phra commented 6 years ago

please follow the documentation.