-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connecting to github repo from server: success for 1-9, error for 10 only #7
Comments
I've set this up currently so that my Github oauth token is in a separate, gitignored file, which is then required in my Capistrano deploy.rb file to put the repo_url together. So, I can now successfully deploy to our staging server without including sensitive information in the repo. I'd still like to find out why I can't use the |
I'm having exactly the same issue, only thing is that I'm using gitlab.com istead of github.
|
Same issue with
|
I had some weird issues like this. As soon as I used bundler i.e. |
First of all, this is an awesome sanity checker - thank you tons for providing it!
I keep running into the following error when running
bundle exec cap staging deploy
:I have a feeling this is going to end up being an issue on my end, not yours, but: have you ever seen numbers 1-9 succeed but 10 still fail, when trying to connect to a Github repo from a staging server? Here's the output when running
bundle exec cap staging ssh:doctor
:This happens when using the format
in my
deploy.rb
. When using eitheror
, I am able to successfully connect to the Github repo from the staging server - but those are less than ideal as (I think) they'd require putting Github credentials of some sort in the repo.
I'm admittedly not super strong re: ssh-agent, forwarding, etc. so I'm sure there are a few things I could be missing. I am encouraged to know that having checks 1-9 pass should make 10 work too, but perplexed as to what else might be causing check 10 to fail. Thanks for any insight/assistance you may be able to provide!
The text was updated successfully, but these errors were encountered: