Add index.html to documentation, only build on stable
This commit is contained in:
parent
f03734a588
commit
4f6d17c2ff
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ after_success: |
|
|||
set -e
|
||||
[ $TRAVIS_BRANCH = master ]
|
||||
[ $TRAVIS_PULL_REQUEST = false ]
|
||||
[ $TRAVIS_RUST_VERSION = stable ]
|
||||
|
||||
cargo doc --features iron-handlers
|
||||
|
||||
|
@ -33,6 +34,9 @@ after_success: |
|
|||
|
||||
rm -rf *
|
||||
mv ../target/doc/* .
|
||||
|
||||
echo '<meta http-equiv="refresh" content="0; url=graphql/index.html">' > index.html
|
||||
|
||||
git add -A *
|
||||
git commit -qm 'Update documentation for Juniper'
|
||||
git push -q origin gh-pages
|
||||
|
|
Loading…
Reference in a new issue