diff --git a/.travis.yml b/.travis.yml index fe9e57b7..93c4957f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ script: - mypy src --ignore-missing-imports notifications: email: false +before_deploy: +- "(python setup.py docs && touch docs/_build/html/.nojekyll)" deploy: - provider: pypi user: ChrisTimperley @@ -22,3 +24,10 @@ deploy: on: tags: true python: '3.6' +- provider: pages + skip_cleanup: true + local_dir: docs/_build/html + github_token: "$GITHUB_TOKEN" + on: + branch: master + python: '3.6'