Adding CircleCI build for documentation
This commit is contained in:
@@ -83,6 +83,18 @@ jobs:
|
|||||||
name: Push image
|
name: Push image
|
||||||
command: docker push $IMAGE_NAME:$IMAGE_TAG
|
command: docker push $IMAGE_NAME:$IMAGE_TAG
|
||||||
|
|
||||||
|
build-and-deploy-gh-pages:
|
||||||
|
docker:
|
||||||
|
- image: circleci/python:3.7
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: "Install Mkdocs and Material theme"
|
||||||
|
command: |
|
||||||
|
pip install --user mkdocs mkdocs-material
|
||||||
|
- run:
|
||||||
|
name: "Build and push site"
|
||||||
|
command: mkdocs gh-deploy
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build-images:
|
build-images:
|
||||||
@@ -107,3 +119,9 @@ workflows:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- dev
|
- dev
|
||||||
|
documentation-update:
|
||||||
|
jobs:
|
||||||
|
- build-and-deploy-gh-pages:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: master
|
||||||
|
Reference in New Issue
Block a user