Explorar o código

.travis.yml: Add auto-deployment for documentation

Jan Holthuis %!s(int64=5) %!d(string=hai) anos
pai
achega
235c84d5b2
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      .travis.yml

+ 12 - 0
.travis.yml

@@ -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