master
zhang 2 years ago
parent f945092e28
commit 5b3d6e13db

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

Loading…
Cancel
Save