|
|
|
@ -42,23 +42,22 @@ 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: 121.41.171.43
|
|
|
|
|
username: root
|
|
|
|
|
password: zhang123.
|
|
|
|
|
port: 22
|
|
|
|
|
target: /data/wwwroot/zabbix_back
|
|
|
|
|
source: /target/*
|
|
|
|
|
- name: ssh
|
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
|
settings:
|
|
|
|
|
host: 192.168.230.16
|
|
|
|
|
username: root
|
|
|
|
|
password: Macro3
|
|
|
|
|
password:
|
|
|
|
|
from_secret: macro3_pas
|
|
|
|
|
port: 22
|
|
|
|
|
command_timeout: 5m
|
|
|
|
|
script:
|
|
|
|
|