2022-04-29 09:49:48 +02:00
|
|
|
---
|
|
|
|
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:
|
2022-04-29 10:18:15 +02:00
|
|
|
hosts: [ "sn42.de" ]
|
2022-04-29 09:49:48 +02:00
|
|
|
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
|
2022-04-29 09:54:05 +02:00
|
|
|
hmac: 98862af7de3d404262c8872d43c21d2ddb50867cb855c811aa0f7e47d350a9b0
|
2022-04-29 09:49:48 +02:00
|
|
|
|
|
|
|
...
|