Add rsync step
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

This commit is contained in:
Pim van Pelt
2024-07-28 11:33:05 +02:00
parent 74f256a068
commit b6b9694c4a

View File

@ -12,3 +12,22 @@ steps:
hugo_version: 0.79.0
extended: true
validate: true
- name: rsync
image: drillster/drone-rsync
settings:
user: drone
key:
from_secret: drone_sshkey
hosts:
- nginx0.nlams1.net.ipng.ch
- nginx0.nlams2.net.ipng.ch
- nginx0.chrma0.net.ipng.ch
- nginx0.chplo0.net.ipng.ch
port: 22
args: '-6'
source: public/
target: /var/www/sabbatical.ipng.nl/
delete: true
recursive: true
secrets: [ drone_sshkey ]