From bdffb0cf73121efea8b1432b9c413a111ebdc514 Mon Sep 17 00:00:00 2001 From: Omar Awile Date: Wed, 3 Jun 2020 16:29:45 +0200 Subject: [PATCH] Fixup/docs deploy (#344) * Fixing issue with documentation deployment --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5427906cf4..4e5e42d98b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,8 +120,8 @@ after_success: echo "------- Build Documentation -------"; python3 setup.py build_ext --inplace docs -j 2 -G "Unix Makefiles" || travis_terminate 1; cd $TRAVIS_BUILD_DIR/_skbuild/linux-x86_64-3.8/setuptools/sphinx; - rm -rf doctrees && touch html/.nojekyll; - echo "" > html/index.html; + rm -rf doctest doctrees && touch .nojekyll; + echo "" > index.html; fi - echo "------- Build and Test CoreNEURON -------" - cd $HOME @@ -149,7 +149,7 @@ deploy: skip_cleanup: true github_token: $GITHUB_TOKEN keep_history: false - local_dir: $TRAVIS_BUILD_DIR/docs/_build/ + local_dir: $TRAVIS_BUILD_DIR/_skbuild/linux-x86_64-3.8/setuptools/sphinx/ target_branch: gh-pages on: branch: master