Skip to content

How to have jingo pull from a private GitHub.com repo

Claudio Cicali edited this page May 13, 2017 · 2 revisions

Thanks to @concentrateddon for this tutorial!

  1. Create an SSH key on your server. Instructions at https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/.

  2. Add the SSH key to your GitHub account (which can access the private repo). https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

  3. Change to your repo folder.

  4. Run git remote add origin git@github.com:repouser/reponame to add the repo.

  5. Run an initial git pull origin master and git push origin master.

  6. Ensure origin is added as the repo in the jingo config YAML.