chore(travis): remove sudo from publish docs

This commit is contained in:
Sean McArthur
2015-04-15 13:25:52 -07:00
parent aaa10ade17
commit cc7d9fa8c4

View File

@@ -16,7 +16,7 @@ after_success: |
cargo doc && cargo doc &&
echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html && echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html &&
git shortlog -s -n | cut -c 8- > target/doc/humans.txt && git shortlog -s -n | cut -c 8- > target/doc/humans.txt &&
sudo pip install ghp-import && pip install ghp-import &&
ghp-import -n target/doc && ghp-import -n target/doc &&
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages