wiki/.drone.yml
Sthope 1a751f0329
Some checks failed
continuous-integration/drone/push Build is failing
first commit
2022-04-17 15:58:43 +02:00

21 lines
417 B
YAML

---
kind: pipeline
type: docker
name: build
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/ /site
- chown -R sthope:sthope /site
# - chmod -R 777 /site
volumes:
- name: site
host:
path: /home/sthope/docker/wiki