From a0b1bb7aceb63237951c72e329eee7da1f9316c9 Mon Sep 17 00:00:00 2001 From: zhangyousheng Date: Mon, 14 Aug 2023 10:17:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(CI):=20=E8=B0=83=E6=95=B4drone-ssh=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=AE=98=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index dead787..276b5c0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,6 +28,17 @@ steps: - name: deploy pull: if-not-exists image: appleboy/drone-ssh + settings: + host: + - example1.com + - example2.com + username: ubuntu + password: + from_secret: ssh_password + port: 22 + command_timeout: 2m + script: + - echo "Hello World" # settings: # host: 192.168.31.104 # port: 22