Ci build log show environment variables values


#1

the log show the github access token. how to hide it ?


#2

Assuming the git push command is in your config.yml, you could just do git push ... > /dev/null, although that would remove all output rather than just the token line.

You could also try git push ... | grep -v "To https://" to remove that line on its own.

Unfortunately git push does not seem to have any quiet flags.


#3

thanks !

i find that add -q flag can hide the messages. just git push ... -q


#4