-
Notifications
You must be signed in to change notification settings - Fork 99
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
heroku_san uses wrong heroku account only when pushing git #165
Comments
Hmmm. heroku_san just shells out to git, so anything that you do with git Also, in the second example, When git whines at me about access rights, I try running On Mon, Mar 31, 2014 at 11:05 PM, Justin Gordon [email protected]
[email protected] | (808) 722-6142 (c) On Mon, Mar 31, 2014 at 11:05 PM, Justin Gordon [email protected]:
[email protected] | (808) 722-6142 (c) |
Thanks for the advice. When I run So I can't really blame heroku, as the basic commands work. How can I debug where heroku_san is going wrong? Any way to force the key? Note, I'm using https://github.com/ddollar/heroku-accounts. |
this is probably why: To clone a git repository from Heroku, change 'heroku.com' to the Host of
On Tue, Apr 1, 2014 at 10:35 PM, Justin Gordon [email protected]:
[email protected] | (808) 722-6142 (c) |
@kmayer What does that imply for my .git/config file or my heroku.yml files?
|
The only remote that will work is heroku.com -- we'll need to write some On Wed, Apr 2, 2014 at 4:30 PM, Justin Gordon [email protected]:
[email protected] | (808) 722-6142 (c) |
If you can point me to the place, I can put together a pull request. |
Looks like it's already in there: So all you need to do is add a "repo" attribute to each of your stage https://github.com/fastestforward/heroku_san/blob/master/lib/templates/heroku.example.yml#L8 On Wed, Apr 2, 2014 at 9:31 PM, Justin Gordon [email protected]:
[email protected] | (808) 722-6142 (c) |
A problem with this approach is that the heroku.yml file (at least in my project) is checked into my repo, whereas my .gitconfig file is not and would ideally refer to Host entries in my .ssh/config file. Fortunately, heroku.yml is parsed as ERB, so you can do something like this:
and then I have lines that look like:
|
I'm having the same issue as @justin808 (due to using multiple heroku accounts and heroku_san assuming the git remote is heroku.com). Is the suggestion by @dontfidget still the only suggested answer? |
afaik. heroku_san is trying to keep things simple, but once you have a more On Sun, Aug 10, 2014 at 2:40 PM, Jaco Pretorius [email protected]
[email protected] | (808) 722-6142 (c) |
Well, I think is probably an issue for everyone who has more than one Heroku account... |
@kmayer @Jaco-Pretorius, I tried the approach of @dontfidget, as well as copy, pasting from my .git/config file. None of them work. I still get the error:
|
@kmayer @Jaco-Pretorius Any updates on this issue? I'd like to recommend this gem to a few projects. |
I've been using this with multiple accounts for a while, it seems to work fine except an auth error-out after the migration (which doesn't seem to have any negative consequence besides being annoying). You just need to make sure the
|
@hiattp Having an error on a deployment and "don't worry about it" would be a tough sell to team members. |
@justin808 I constantly use the solution suggested by @dontfidget and I don't have any problems (or error messages) |
Okay, I finally have some time to look at this bug and #173. I don't see any suggestions for change, though, which makes it hard for me to decide what would be helpful. |
Possibly related to: #86.
I can run this command with problem:
But if I try to run
I get this error below.
So I run the manual command to deploy above. And then I run
The text was updated successfully, but these errors were encountered: