You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docs/.drone.yml

47 lines
833 B
YAML

2 years ago
---
kind: pipeline
type: docker
2 years ago
name: build-home-docs
2 years ago
steps:
9 months ago
- name: build main
image: git.st1t.ru/thest1tch/mkdocs-material:latest
pull: if-not-exists
volumes:
- name: site-st1tru
path: /site
commands:
- mkdocs build
- cp -r site/ /site
- chown 1000:1000 /site
- chmod -R 777 /site
when:
event:
- push
branch:
- main
2 years ago
2 years ago
- name: build states
10 months ago
image: git.st1t.ru/thest1tch/mkdocs-material:latest
2 years ago
pull: if-not-exists
volumes:
9 months ago
- name: site-dev
2 years ago
path: /site
commands:
- mkdocs build
- cp -r site/ /site
- chown 1000:1000 /site
2 years ago
- chmod -R 777 /site
when:
2 years ago
event:
- push
branch:
- states/*
2 years ago
2 years ago
volumes:
2 years ago
- name: site-st1tru
host:
9 months ago
path: /opt/appdata/nginx/st1t.ru
- name: site-dev
host:
path: /opt/appdata/nginx/dev.thest1tch.ru