From 8878dcbec86b215ae23104dd04d3c9ccd27bb873 Mon Sep 17 00:00:00 2001 From: wangwei10061 <153692771@qq.com> Date: Thu, 30 May 2024 15:51:32 +0800 Subject: [PATCH] update pipeline for interface branch --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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