You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My personal job log from a failed deployment.
My personal .travis.yml from this specific project
I'm pretty sure I've setup the environment variable on Travis correctly, including the token permissions. Am I missing something silly, or is there a potential bug?
The configured username and password will make your git history pretty. They do not have any influence to the authentication to github.
Please see this:
Travis has no rights to WRITE to your github repos (that's good!).
It will be a bit complicated to change the global git configuration to use another account. I never tried that for travis. The easiest solution is the following:
Ohhh, I believe I misunderstood this and though ngh would automatically recognize the GH_TOKEN env var (that IS present). But I actually have to include "GH_TOKEN" within the --repo option. I didn't do that and was just executing ngh. Let me try again.
Activity
RobertPaulson90 commentedon May 25, 2017
I'm not too bright - the error was right there in the job log. Git user details needed to be properly configured. My bad!
RobertPaulson90 commentedon May 25, 2017
Oh, it still fails even with git configured
JohannesHoppe commentedon May 26, 2017
The message in the log is pretty clear:
The configured username and password will make your git history pretty. They do not have any influence to the authentication to github.
Please see this:

Travis has no rights to WRITE to your github repos (that's good!).
It will be a bit complicated to change the global git configuration to use another account. I never tried that for travis. The easiest solution is the following:
Please create a GH_TOKEN as described here:

https://github.com/blog/1509-personal-api-tokens
Set the Travis Environment variable
GH_TOKEN.Execute
ngh --repo=https://GH_TOKEN@github.com/amivit/RSMuseum-ng.git --name="Name just for history" --email=mail_just_for_the_history@example.orgRobertPaulson90 commentedon May 26, 2017
Ohhh, I believe I misunderstood this and though ngh would automatically recognize the GH_TOKEN env var (that IS present). But I actually have to include "GH_TOKEN" within the --repo option. I didn't do that and was just executing ngh. Let me try again.
JohannesHoppe commentedon May 26, 2017
Yes, it recognizes the GH_TOKEN env var and replaces the same string in the URL. No magic here! ;-)
RobertPaulson90 commentedon May 26, 2017
Yeah it works perfect now, thanks!
fix: create personal access token that allows writing