Skip to content

Commit 4f6d17c

Browse files
committed
Add index.html to documentation, only build on stable
1 parent f03734a commit 4f6d17c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ after_success: |
1818
set -e
1919
[ $TRAVIS_BRANCH = master ]
2020
[ $TRAVIS_PULL_REQUEST = false ]
21+
[ $TRAVIS_RUST_VERSION = stable ]
2122
2223
cargo doc --features iron-handlers
2324
@@ -33,6 +34,9 @@ after_success: |
3334
3435
rm -rf *
3536
mv ../target/doc/* .
37+
38+
echo '<meta http-equiv="refresh" content="0; url=graphql/index.html">' > index.html
39+
3640
git add -A *
3741
git commit -qm 'Update documentation for Juniper'
3842
git push -q origin gh-pages

0 commit comments

Comments
 (0)