wiki/.drone.yml
sthope 0034c086ec
Some checks reported errors
continuous-integration/drone/push Build encountered an error
fix drone
2023-08-19 22:39:53 +02:00

27 lines
472 B
YAML

---
kind: pipeline
type: docker
name: build
environment:
WIKI_PATH: ${wiki_folder}
steps:
- name: build
image: squidfunk/mkdocs-material:7.1.9
volumes:
- name: site
path: /site
commands:
- /usr/local/bin/python -m pip install --upgrade pip
- pip install -U -r ./requirements.txt
- mkdocs build
- cp -r site/ $wiki_folder
- chmod -R 777 $wiki_folder
volumes:
- name: site
host:
# path: /home/sthope/docker/wiki
path: ${wiki_folder}