update drone ci
continuous-integration/drone/push Build encountered an error Details

states/02
thest1tch 2 years ago
parent cec7679d40
commit 6adab5270e

@ -16,6 +16,24 @@ steps:
- cp -r site/ /site
- chown 1000:1000 /site
- chmod -R 777 /site
# when:
# event:
# - push
# branch:
# - states/*
- name: check-feature
image: git.st1t.ru/thest1tch/mkdocs-material:latest
pull: if-not-exists
volumes:
- name: site
path: /site
commands:
#- pip install -U -r ./requirements.txt
- mkdocs build
- cp -r site/ /site
- chown 1000:1000 /site
- chmod -R 777 /site
when:
event:
- push

@ -0,0 +1,2 @@
User-agent: *
Sitemap: https://st1t.ru/sitemap.xml

@ -1,5 +1,5 @@
site_name: St1t.ru
site_url: https://st1t.ru
site_url: https://st1t.ru/
repo_url: https://git.st1t.ru/thest1tch/docs
repo_name: thest1tch/docs
edit_uri: edit/main/docs/

Loading…
Cancel
Save