Add rsync to the Drone CI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-05 18:00:51 +02:00
parent de61265f82
commit 34981afe2e

View File

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