asds
continuous-integration/drone/push Build encountered an error Details

feature
thest1tch 2 years ago
parent 66f8372ac2
commit 7b5f7a5d13

@ -7,19 +7,19 @@ steps:
- name: build-docs
image: squidfunk/mkdocs-material:9.1.15
pull: if-not-exists
volumes:
- name: docs
path: /opt/appdata/mkdocswiki
volumes:
- name: site
path: /site
commands:
- pip install -U -r ./requirements.txt
- mkdocs build
- cp -r /drone/src/site /docs
- chmod -R 777 /docs
- cp -r site/ /site
- chmod -R 777 /site
when:
event: push
branch: main
#volumes:
# - name: docs
# host:
# path: /opt/appdata/mkdocswiki
volumes:
- name: site
host:
path: /opt/appdata/mkdocswiki
Loading…
Cancel
Save