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