Sn42.de/.drone.yml

46 lines
760 B
YAML
Raw Normal View History

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:
hosts: [ "homenet.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
2022-04-29 09:54:05 +02:00
hmac: 98862af7de3d404262c8872d43c21d2ddb50867cb855c811aa0f7e47d350a9b0
2022-04-29 09:49:48 +02:00
...