Sn42.de/.woodpecker/default.yml

28 lines
514 B
YAML
Raw Normal View History

2024-09-19 17:46:41 +02:00
when:
- branch: master
event: push
- event: tag
2024-06-02 20:57:08 +02:00
steps:
2022-06-05 02:15:34 +02:00
build:
image: ghcr.io/narolinus/mkdocs-material-insiders
commands:
# - pip install -U -r ./requirements.txt
- mkdocs build
- chmod -R 700 site
deploy:
image: drillster/drone-rsync
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