Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (25 sloc)
519 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: 3.6 | |
branches: master | |
install: | |
- pip install mkdocs mkdocs-material | |
script: | |
- mkdocs build --verbose --clean | |
before_deploy: | |
- python -V | |
- pip -V | |
# Output mkdocs and mkdocs-material versions for local debugging | |
after_deploy: | |
- pip show mkdocs | |
- pip show mkdocs-material | |
deploy: | |
provider: pages | |
skip_cleanup: true | |
github_token: $GITHUB_TOKEN | |
local_dir: site | |
on: | |
branch: master | |
# Only build on master; changes to gh-pages are irrelevant | |
branches: | |
only: | |
- master |