Skip to content

Commit

Permalink
try to bugfix doctr pushing to gh-pages
Browse files Browse the repository at this point in the history
was getting error message: Don't have permission to push. Not trying.
(perhaps, because we were in a detached head state?)
  • Loading branch information
Benjamin Winkel committed Jul 18, 2017
1 parent 9cf1588 commit 1d30db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -170,11 +170,12 @@ script:
- $MAIN_CMD $SETUP_CMD
- echo "DO_DOCS" $DO_DOCS
# also have to remove the c-files, generated during build
# --built-docs docs/_build/html/
- 'if [[ $TRAVIS_TAG && $DO_DOCS ]]; then
set -e;
conda install doctr;
git reset --hard HEAD;
doctr deploy . --built-docs docs/;
doctr deploy . --no-require-master;
fi'

after_success:
Expand Down

0 comments on commit 1d30db4

Please sign in to comment.