I have a private repo that I am trying to access when deploying to Heroku. However, Heroku does not allow me to clone a private repo and gives me the following error (as expected):
Host key verification failed.
fatal: The remote end hung up unexpectedly
Git error: command `git clone
'git@github.com:pr/lm-models.git'
"/tmp/build_3r0z0znww0zda/vendor/bundle/ruby/1.9.1/cache/bundler/git/lm-models-aab025aaadbe07202b16e1db7505ae1726f8723a"
--bare --no-hardlinks` in directory /tmp/build_3r0z0znww0zda has failed.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
I found this, but do not want to show my username / password in clear text:
Associating a heroku app with a private (organization) github repo
source
share