Add rsync to the Drone CI
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
36
.drone.yml
36
.drone.yml
@ -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 ]
|
||||
|
Reference in New Issue
Block a user