Add .drone.yml

This commit is contained in:
support 2025-11-02 02:32:17 +00:00
parent 8ed8db1a9e
commit 59c2d8fabb

19
.drone.yml Normal file
View file

@ -0,0 +1,19 @@
---
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/noticeboard/data/mkdocs