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