Reputation: 26182
Whle travis CI build I execute command like
git remote add origin https://${GH_TOKEN}/some/url
git push origin master
In the output i got:
Fetch URL:https://<secrte-value>/some/url
As it is public repo, build output is aviable to anybody so this is a secrets leak.
How do I suppose to manage such cases in travis CI? Is there a consistent to avoid secrets leak in the output?
Upvotes: 1
Views: 625
Reputation: 10147
How to manage your issue is described in Defining encrypted variables in .travis.yml
Upvotes: 1