Skip to content
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

Travis CI deployment logs "fatal" error, yet it's actually harmless #57

Open
hroncok opened this issue Aug 26, 2018 · 2 comments
Open
Labels

Comments

@hroncok
Copy link
Member

hroncok commented Aug 26, 2018

fatal: ambiguous argument 'refs/remotes/origin/gh-pages': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error: git push failed (exit status 128).
Note: Due to security constraints, Elsa does not show the error message from git, as it may include sensitive information and this could be logged. Use the --show-git-push-stderr switch to change this behavior.
Setting up git...
Rewriting gh-pages branch...
Pushing to GitHub...
Script failed with status 128

I blame 2be014e + ba0fc9e

@hroncok
Copy link
Member Author

hroncok commented Aug 26, 2018

Oh, so the error on python.cz was different. But the fatal error message appears to exist in all Travis deploy logs, even tough it's actually non-fatal:

Deploying application
fatal: ambiguous argument 'refs/remotes/origin/gh-pages': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Setting up git...
Rewriting gh-pages branch...
Pushing to GitHub...
Done. Your build exited with 0.

We should suppress it, it's confusing.

@hroncok hroncok changed the title First deploy on Travis CI will fail if gh-pages does not yet exist Travis CI deployment logs "fatal" error, yet it's actually harmless Aug 26, 2018
@honzajavorek
Copy link
Member

It is confusing. I'm debugging why python.cz deploys fail, I searched for the error message, and now I'm seeing it's irrelevant to the issue 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants