From f65c274a2be5c593509257cc8dc6fcabb54a72c3 Mon Sep 17 00:00:00 2001 From: XinWei <2718030729@qq.com> Date: Wed, 30 Oct 2024 10:21:43 +0800 Subject: [PATCH] 'newtest' --- .drone.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index edf55f9..5f3d7d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,10 +27,4 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 command_timeout: 20m # 远程执行命令超时时间 script: - - ls / - - ssh root@47.118.40.3 <<'EOF' - cd / - ls - cd /build_project - ls - EOF \ No newline at end of file + - ssh root@47.118.40.3 "sh -c 'cd / && ls && cd /build_project && ls'" \ No newline at end of file