master
zhang 2 years ago
parent cd99c65b5f
commit 42974c5e45

@ -42,23 +42,22 @@ 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: 121.41.171.43
# username: username: root
# from_secret: linac password: zhang123.
# password: port: 22
# from_secret: linac target: /data/wwwroot/zabbix_back
# port: 22 source: /target/*
# target: /root
# 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.16
username: root username: root
password: Macro3 password:
from_secret: macro3_pas
port: 22 port: 22
command_timeout: 5m command_timeout: 5m
script: script:

Loading…
Cancel
Save