.travis.yml: Add auto-deployment for documentation

This commit is contained in:
Jan Holthuis 2020-03-11 13:58:04 +01:00
parent 0188686d0f
commit 235c84d5b2

View file

@ -16,3 +16,15 @@ script:
- mkdir html
- sphinx-multiversion docs html
- python setup.py build sdist bdist_wheel
# Deployment
deploy:
# Deploy documentation
- provider: pages
skip_cleanup: true
keep_history: true
github_token: $GITHUB_TOKEN
local_dir: html
on:
branch: master
repo: Holzhaus/sphinx-multiversion