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.
23 lines
399 B
YAML
23 lines
399 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
steps:
|
|
- name: build
|
|
image: squidfunk/mkdocs-material:9.1.15
|
|
pull: if-not-exists
|
|
volumes:
|
|
- name: site
|
|
path: /site
|
|
commands:
|
|
- pip install -U -r ./requirements.txt
|
|
- mkdocs build
|
|
when:
|
|
event: push
|
|
branch: master
|
|
#- cp -r site/ /site
|
|
#- chmod -R 777 /site
|
|
volumes:
|
|
- name: site
|
|
host:
|
|
path: /opt/appdata/mkdocswiki/docs |