Files
SavaneWiki/.drone.yml
jf ad6a9ce57e
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2026-02-25 22:54:33 +01:00

26 lines
500 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
- pip install --force-reinstall mkdocs
- pip install pymdown-extensions
- mkdocs build --clean -f ./mkdocs.yml
- rm -rf /site/*
- cp -r site/* /site/
- chmod -R 644 /site
- chown -R 1039:1023 /site
volumes:
- name: site
host:
path: /volume1/web/docs
trigger:
branch:
- main