add dev mkdocs
continuous-integration/drone/push Build is passing Details

pull/15/head
TheSt1tch 9 months ago
parent 3e00c57072
commit 521586e758

@ -4,29 +4,28 @@ type: docker
name: build-home-docs name: build-home-docs
steps: steps:
#- name: build main - name: build main
# image: squidfunk/mkdocs-material:9.4.6 image: git.st1t.ru/thest1tch/mkdocs-material:latest
# pull: if-not-exists pull: if-not-exists
# volumes: volumes:
# - name: site - name: site-st1tru
# path: /site path: /site
# commands: commands:
# - pip install -U -r ./requirements.txt - mkdocs build
# - mkdocs build - cp -r site/ /site
# - cp -r site/ /site - chown 1000:1000 /site
# - chown 1000:1000 /site - chmod -R 777 /site
# - chmod -R 777 /site when:
# when: event:
# event: - push
# - push branch:
# branch: - main
# - main
- name: build states - name: build states
image: git.st1t.ru/thest1tch/mkdocs-material:latest image: git.st1t.ru/thest1tch/mkdocs-material:latest
pull: if-not-exists pull: if-not-exists
volumes: volumes:
- name: site-st1tru - name: site-dev
path: /site path: /site
commands: commands:
- mkdocs build - mkdocs build
@ -40,9 +39,9 @@ steps:
- states/* - states/*
volumes: volumes:
- name: site
host:
path: /opt/appdata/mkdocswiki
- name: site-st1tru - name: site-st1tru
host: host:
path: /opt/appdata/nginx/st1t.ru path: /opt/appdata/nginx/st1t.ru
- name: site-dev
host:
path: /opt/appdata/nginx/dev.thest1tch.ru
Loading…
Cancel
Save