diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 6e76a7b0d..bfbea0941 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -109,6 +109,38 @@ trigger: --- +--- +kind: pipeline +type: ssh +name: ssh-linux-test-irc-publish + +platform: + os: Linux + arch: 386 + +clone: + disable: true #禁用默认克隆 + +server: + host: 192.168.3.68 + user: root + password: + from_secret: local_pwd +# ssh_key: +# from_secret: rsa_key + +steps: +- name: build and push image + commands: + - cd /opt/hang/netcore/irc-test + - sh test-irc.sh v${DRONE_BUILD_NUMBER} + +trigger: + branch: + - Test_IRC_Net8 + +--- + kind: pipeline type: ssh