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