1
continuous-integration/drone/push Build is passing Details

feature
thest1tch 2 years ago
parent 44a7fed682
commit 259ce2103f

@ -4,16 +4,20 @@ type: docker
name: build name: build
steps: steps:
- name: build - name: build
image: squidfunk/mkdocs-material:7.1.9 image: squidfunk/mkdocs-material:9.1.15
pull: if-not-exists
volumes: volumes:
- name: site - name: site
path: /site path: /site
commands: commands:
- pip install -U -r ./requirements.txt - pip install -U -r ./requirements.txt
- mkdocs build - mkdocs build
- cp -r site/ /site when:
- chmod -R 777 /site event: push
branch: master
#- cp -r site/ /site
#- chmod -R 777 /site
volumes: volumes:
- name: site - name: site
host: host:
path: /opt/appdata/mkdocswiki path: /opt/appdata/mkdocswiki/docs
Loading…
Cancel
Save