Add .drone.yml
This commit is contained in:
parent
8ed8db1a9e
commit
59c2d8fabb
1 changed files with 19 additions and 0 deletions
19
.drone.yml
Normal file
19
.drone.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue