Redirect GitHub pages to names/index.html.

This commit is contained in:
Fletcher Nichol 2015-09-22 10:00:34 -06:00
parent 19be47ec5b
commit 0993d8749b

View File

@ -18,6 +18,7 @@ script:
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=names/index.html>' > target/doc/index.html &&
pip install ghp-import --user $USER &&
$HOME/.local/bin/ghp-import -n target/doc &&
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages