|
@ -1,11 +1,19 @@ |
|
|
language: minimal |
|
|
language: minimal |
|
|
|
|
|
|
|
|
|
|
|
python: "3.6" |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
- docker |
|
|
- docker |
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
|
|
- pip install mkdocs mkdocs-material |
|
|
|
|
|
|
|
|
script: |
|
|
script: |
|
|
- docker build --target=builder . |
|
|
- docker build --target=builder . |
|
|
|
|
|
|
|
|
|
|
|
before_deploy: |
|
|
|
|
|
- mkdocs build --verbose --clean |
|
|
|
|
|
|
|
|
deploy: |
|
|
deploy: |
|
|
- provider: script |
|
|
- provider: script |
|
|
script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER} |
|
|
script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER} |
|
@ -16,3 +24,10 @@ deploy: |
|
|
script: tools/cd.sh ${TRAVIS_TAG} |
|
|
script: tools/cd.sh ${TRAVIS_TAG} |
|
|
on: |
|
|
on: |
|
|
tags: true |
|
|
tags: true |
|
|
|
|
|
|
|
|
|
|
|
- provider: pages |
|
|
|
|
|
skip_cleanup: true |
|
|
|
|
|
github_token: $GITHUB_TOKEN |
|
|
|
|
|
local_dir: site |
|
|
|
|
|
on: |
|
|
|
|
|
branch: master |