From cee45b87ee6175d10b8f2abd7890eef5c259c4dd Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Fri, 1 Dec 2023 13:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95linux=20=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- irc_api.drone.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 3ecdcf776..076ac860f 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -74,9 +74,31 @@ volumes: path: /var/run/docker.sock trigger: + branch: + - master + +--- +kind: pipeline +type: ssh +name: default + +server: + host: 47.117.164.182 + user: root + password: + from_secret: uat_ssh_pwd + +steps: +- name: greeting + commands: + - echo start publish test-irc-api + - cd /opt/cicd/irc-test + - sh test-irc.sh + + trigger: branch: - Test.IRC - + ---