Skip to content

Commit

Permalink
travis, won't you build my docs for me?
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Apr 2, 2015
1 parent a043a4e commit 03884e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
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>" > doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
ghp-import -n doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

0 comments on commit 03884e6

Please sign in to comment.