File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ script:
9
9
doc
10
10
after_script :
11
11
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
12
- after_success : |
13
- [ $TRAVIS_BRANCH = master ] &&
14
- [ $TRAVIS_PULL_REQUEST = false ] &&
15
- cargo doc &&
16
- echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&
17
- sudo pip install ghp-import &&
18
- ghp-import -n doc &&
19
- git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
12
+ after_success :
13
+ - [ $TRAVIS_BRANCH = master ] || exit
14
+ - [ $TRAVIS_PULL_REQUEST = false ] || exit
15
+ - cargo doc
16
+ - echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html
17
+ - sudo pip install ghp-import
18
+ - ghp-import -n doc
19
+ - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
You can’t perform that action at this time.
0 commit comments