mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Don't leak GitHub tokens during network failures
If git is unable to resolve the repo address (which includes the token), it will print a message to stderr with the path to the repo, thus leaking the token. Avoid doing this, and also suppress stdout to be extra careful.
This commit is contained in:
parent
76a8bd9cf3
commit
630b523c06
2 changed files with 7 additions and 4 deletions
|
@ -27,4 +27,6 @@ cp apis.html ../../target/doc/servo/
|
|||
cd ../..
|
||||
|
||||
ghp-import -n target/doc
|
||||
git push -qf "https://${TOKEN}@github.com/servo/doc.servo.org.git" gh-pages
|
||||
git push -qf \
|
||||
"https://${TOKEN}@github.com/servo/doc.servo.org.git" gh-pages \
|
||||
>/dev/null 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue