This commit is contained in:
parent
c9a8d0ff5d
commit
5cdd62ccf2
1 changed files with 21 additions and 0 deletions
21
.drone.yml
Normal file
21
.drone.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
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/nginx/data/mkdocs
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue