dwyl / dwyl/learn-devops

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

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Shell
Stars
443
Forks
177
PR merge metrics
No merged PRs in 30d

Description

Would someone be able to provide better clarity on [Step #6](https://github.com/dwyl/learn-devops/blob/master/nodejs-pm2-zero-downtime.md#6-add-deployment-sshrsa-public-key)?

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.