diff --git a/.drone.yml b/.drone.yml index 7fc2d27..a9afe30 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,21 @@ steps: path: /root/.m2 commands: - mvn compile +- name: 远程主机部署 + image: appleboy/drone-ssh:linux-arm64 + settings: + host: + from_secret: ip + username: + from_secret: name + password: + from_secret: pwd + port: 22 + script: + - echo '模拟部署' trigger: branch: - interface event: - push + - pull_request