Skip to content

Commit c38b082

Browse files
committed
Regenerate Github Auth Token
Ivan Vyshnevskyi kindly took the time to point out that the auth token for this repo has been leaked. This PR adds a regenerated token along with an adjustment to the .travis.yml that should avoid future leaks. This is the same issue as image-rs/image#596. Ivan will be releasing a blog post on how he discovered the issue soon. Will link to it as soon as it is available!
1 parent 9e21890 commit c38b082

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
matrix:
1717
- LD_LIBRARY_PATH: /usr/local/lib
1818
global:
19-
secure: Ua2xv6+p4Dh86acOk0DH09g7MSq+iHitkrdSAHJm4lL8N6sE4kjGgVGZzFvlpbpl0PUKKTm8cCIOo7wu1XR5WkGm3pX7nlsoOViUfNlJx4sltq+AC6K33QjNBi8UOGdabmCmizDQboQkotd2M00vQ/S0LF8/eUaGDeovzC/EKWQ=
19+
- secure: URNNlOqxnfwWDC/w4PDTCswqe9ccnkIqDwfQecppfEui4KhpYXfrG9gx3xupWzWMfX+NPEcXtiyWA4CuUYaHbWWINLeLQUk650AFEqaRSiTpeh45Y9nh3dHT4fFDz4OeNfayNBBKL0kx5YwrugoeQggIgnF2KEcIHMF0+BbTtAM=
2020
before_script:
2121
- rustc --version
2222
- cargo --version
@@ -29,6 +29,8 @@ after_success: |
2929
[ $TRAVIS_PULL_REQUEST = false ] &&
3030
cargo doc &&
3131
echo "<meta http-equiv=refresh content=0;url=coreaudio/index.html>" > target/doc/index.html &&
32-
sudo pip install ghp-import &&
32+
pip install --user ghp-import &&
3333
ghp-import -n target/doc &&
34-
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
34+
# Redirect any output to `/dev/null` to hide any sensitive
35+
# credential data that might otherwise be exposed.
36+
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages > /dev/null 2>&1

0 commit comments

Comments
 (0)