it-docs/.drone.yml
support 5cdd62ccf2
All checks were successful
continuous-integration/drone/push Build is passing
uploaded .drone.yml
2023-04-25 16:21:33 +00:00

21 lines
334 B
YAML

---
kind: pipeline
type: docker
name: build
steps:
- name: build
image: squidfunk/mkdocs-material:latest
volumes:
- name: site
path: /site
commands:
- pip install -U -r ./requirements.txt
- mkdocs build
- cp -r site/ /site
- chmod -R 777 /site
volumes:
- name: site
host:
path: /root/nginx/data/mkdocs