master
zhang 2 years ago
parent f945092e28
commit 5b3d6e13db

@ -42,25 +42,23 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: "/var/lib/cache" path: "/var/lib/cache"
# - name: scp files - name: scp files
# image: appleboy/drone-scp image: appleboy/drone-scp
# settings: settings:
# host: 121.41.171.43 host: 192.168.230.38
# username: username: root
# from_secret: linac password:
# password: from_secret: macro3_psw
# from_secret: linac port: 22
# port: 22 target: /data/wwwroot/zabbix_back
# target: /root source: /target/*
# source: /target/*
- name: ssh - name: ssh
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 192.168.230.16 host: 192.168.230.38
username: root username: root
password: password:
from_secret: macro3_pas from_secret: macro3_psw
skip_host_key_verify: true
port: 22 port: 22
command_timeout: 5m command_timeout: 5m
script: script:

Loading…
Cancel
Save