Skip to content

Commit

Permalink
Just push docs on MASTER
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Apr 3, 2015
1 parent 4278570 commit 498dace
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 @@ -9,13 +9,13 @@ script:
- cargo doc --verbose
- mv target/doc doc

#[ $TRAVIS_BRANCH = master ] &&
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&
pip install ghp-import --user $USER &&
$HOME/.local/bin/ghp-import -n doc &&
git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
git push -f https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
notifications:
email:
on_success: never

0 comments on commit 498dace

Please sign in to comment.