diff --git a/.travis.yml b/.travis.yml index 4f8d4a8383e07afe13089b522984d7d145e28dca..044c241fe0ade947974839db35992ad074f6fb16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ script: bash ./build_and_deploy.sh env: global: - - COMMIT_AUTHOR_EMAIL: "atmyers@lbl.gov" + - COMMIT_AUTHOR_EMAIL: "jpblaschke@lbl.gov" addons: apt: @@ -19,6 +19,7 @@ addons: deploy: provider: pages + target-branch: gh-pages local-dir: docs/build skip-cleanup: true github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure diff --git a/build_and_deploy.sh b/build_and_deploy.sh index 290b40e6180af16f033722bad70e77b790dab8cc..7ef7368b1a27bd8fb48d7fc2471f2db6ed6953bb 100755 --- a/build_and_deploy.sh +++ b/build_and_deploy.sh @@ -30,3 +30,7 @@ cd docs make html cd build mv html docs_html + +# Sphinx is set up to treat build/html (and by mv, build/docs_html) as the +# webroot. Hence the .nojekyll file is in the wrong place +mv docs_html/.nojekyll .