|
|
|
@ -13,14 +13,22 @@ trigger: |
|
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
- name: build |
|
|
|
|
image: squidfunk/mkdocs-material:7.1.9 |
|
|
|
|
image: ghcr.io/afritzler/mkdocs-material:8.1.0 #ARM version of mkDocs |
|
|
|
|
pull: if-not-exists |
|
|
|
|
volumes: |
|
|
|
|
- name: site |
|
|
|
|
path: /site |
|
|
|
|
path: /drone/src/docs |
|
|
|
|
commands: |
|
|
|
|
- apk add gcc |
|
|
|
|
- pip install -U -r ./requirements.txt |
|
|
|
|
- mkdocs build |
|
|
|
|
|
|
|
|
|
# image: squidfunk/mkdocs-material:7.1.9 |
|
|
|
|
# volumes: |
|
|
|
|
# - name: site |
|
|
|
|
# path: /site |
|
|
|
|
# commands: |
|
|
|
|
# - pip install -U -r ./requirements.txt |
|
|
|
|
# - mkdocs build |
|
|
|
|
|
|
|
|
|
# - name: build docker image and push to registry |
|
|
|
|
# image: plugins/docker |
|
|
|
|