You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
532 B

language: python
python:
- "3.6"
services:
- docker
install:
- pip install mkdocs mkdocs-material
script:
- docker build --target=builder .
before_deploy:
- mkdocs build --verbose --clean
deploy:
- provider: script
script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER}
on:
branch: master
- provider: script
script: tools/cd.sh ${TRAVIS_TAG}
on:
tags: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: site
on:
branch: master