|
|
@ -13,14 +13,22 @@ trigger: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: build |
|
|
|
- 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: |
|
|
|
volumes: |
|
|
|
- name: site |
|
|
|
- name: site |
|
|
|
path: /site |
|
|
|
path: /drone/src/docs |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- apk add gcc |
|
|
|
|
|
|
|
- pip install -U -r ./requirements.txt |
|
|
|
- pip install -U -r ./requirements.txt |
|
|
|
- mkdocs build |
|
|
|
- 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 |
|
|
|
# - name: build docker image and push to registry |
|
|
|
# image: plugins/docker |
|
|
|
# image: plugins/docker |
|
|
|