Skip to content

Commit 498dace

Browse files
committed
Just push docs on MASTER
1 parent 4278570 commit 498dace

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ script:
99
- cargo doc --verbose
1010
- mv target/doc doc
1111

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

0 commit comments

Comments
 (0)