From 2e28054e4d22b47db29af0da8fc6eea9a7850de0 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 10 Apr 2024 17:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=8A=A8=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=96=87=E4=BB=B6?= 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 0000000..3ff14dd --- /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-hir-vue + commands: + - echo start publish test-hir-vue + - cd /opt/hang/vue/test-hir + - sh test-hir.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