learn-devops icon indicating copy to clipboard operation
learn-devops copied to clipboard

Clarity on Step 6 - nodejs-pm2-zero-downtime.md

Open DanielTamkin opened this issue 6 years ago • 0 comments

Would someone be able to provide better clarity on Step #6?

I am confused in which keys go where / the mentality behind the private+public key sharing. Surprised there's not more explanation on the page to help guide through any common errors. Currently i'm getting a Permission denied (publickey) error when i run pm2 deploy ecosystem.config.js production setup. Which illustrates that my keys are in the incorrect locations.

Update: This error has been narrowed down to pm2 not being able to run it's deploy scripts. Travis-ci reports that pm2 cannot head that's not pointing to a branch.

DanielTamkin avatar Jun 05 '19 14:06 DanielTamkin