diff --git a/.drone.yml b/.drone.yml index e6a2ecd..5cbe30c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,8 @@ steps: username: root # 远程连接账号 password: from_secret: ssh_password # 从Secret中读取SSH密码 + ssh_key: + from_secret: ssh_key port: 22 # 远程连接端口 command_timeout: 5m # 远程执行命令超时时间 script: