diff --git a/.drone.yml b/.drone.yml index 38cd7b2..f2b27a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,5 +28,10 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 script: - ls / - - ssh root@47.118.40.3 - - ls / \ No newline at end of file + - ssh root@47.118.40.3 <<'EOF' + cd / + ls + cd /build_project + ls + # 可以在这里添加更多命令 + EOF \ No newline at end of file