From bbd64cde5eb1766b0f507dc5c2f19fd33ed55d51 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 17 Jan 2024 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=87=AA=E5=8A=A8=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- irc_vue_drone.yml | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 irc_vue_drone.yml diff --git a/irc_vue_drone.yml b/irc_vue_drone.yml new file mode 100644 index 00000000..6dbcef8e --- /dev/null +++ b/irc_vue_drone.yml @@ -0,0 +1,60 @@ +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 + +steps: +- name: publish-test-irc-vue + commands: + - echo start publish test-irc-vue + - cd /opt/hang/vue/test-irc + - sh test-irc.sh v${DRONE_BUILD_NUMBER} + +trigger: + branch: + - main + +--- + + +kind: pipeline +type: ssh +name: ssh-linux-test-study-publish + +platform: + os: Linux + arch: 386 + +clone: + disable: true #禁用默认克隆 + +server: + host: 123.56.94.154 + user: root + password: + from_secret: local_pwd + +steps: +- name: publish-test-study + commands: + - echo start publish test-study-api + - cd /opt/1panel/hang/devops/test-study + - sh test-study.sh v${DRONE_BUILD_NUMBER} + +trigger: + branch: + - Test.Study + + \ No newline at end of file