Daniel Spittank
d30dac6249
All checks were successful
continuous-integration/drone/push Build is passing
46 lines
752 B
YAML
46 lines
752 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
|
|
steps:
|
|
- name: build
|
|
image: ghcr.io/narolinus/mkdocs-material-insiders
|
|
volumes:
|
|
- name: site
|
|
path: /site
|
|
commands:
|
|
# - pip install -U -r ./requirements.txt
|
|
- mkdocs build
|
|
- cp -r site/ /site
|
|
- chmod -R 700 /site
|
|
|
|
- name: deploy
|
|
image: drillster/drone-rsync
|
|
volumes:
|
|
- name: site
|
|
path: /site
|
|
settings:
|
|
hosts: [ "sn42.de" ]
|
|
port: 6666
|
|
delete: true
|
|
recursive: true
|
|
user:
|
|
from_secret: deploy_ssh_user
|
|
key:
|
|
from_secret: deploy_ssh_key
|
|
source: /site/
|
|
target: htdocs
|
|
|
|
volumes:
|
|
- name: site
|
|
temp: {}
|
|
|
|
image_pull_secrets:
|
|
- DockerCredsGithub
|
|
---
|
|
kind: signature
|
|
hmac: fce93c3ea4b9b10e9406185a4c29026aac8b1db40f4d329d7c8aab5e8337a5f6
|
|
|
|
...
|