Files
SavaneWiki/.drone.yml
jf c26a2cd670
All checks were successful
continuous-integration/drone Build is passing
Actualiser .drone.yml
2024-07-16 13:44:52 +02:00

24 lines
421 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 -U mkdocs
- cat ./mkdocs.yml
- mkdocs build --clean -f ./mkdocs.yml
- cp -r site/ /site
- chmod -R 777 /site
volumes:
- name: site
host:
path: /volume1/web/docs
trigger:
branch:
- main