From 5b3d6e13db71056f6d7a50c76695839144210c37 Mon Sep 17 00:00:00 2001 From: zhang <431960018@qq.com> Date: Mon, 27 Nov 2023 15:15:08 +0800 Subject: [PATCH] test drone --- .drone.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index f90ea3c..858637e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: