Don't use sudo in the travis
This commit is contained in:
parent
ff53323790
commit
26873bf3d5
@ -32,6 +32,6 @@ after_success: |
|
|||||||
cp -r serde_macros/target/doc target/doc/serde_macros &&
|
cp -r serde_macros/target/doc target/doc/serde_macros &&
|
||||||
cp -r serde_json/target/doc target/doc/serde_json &&
|
cp -r serde_json/target/doc target/doc/serde_json &&
|
||||||
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
|
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
|
||||||
sudo pip install ghp-import &&
|
pip install ghp-import &&
|
||||||
ghp-import -n target/doc &&
|
ghp-import -n target/doc &&
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user