From 5cab834978af2f717f83505e73d178476028c576 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 5 Feb 2026 13:11:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=89=93=E5=8C=85=E9=80=9A?= =?UTF-8?q?=E7=9F=A51?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- irc_api.drone.yml | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 3bf741227..767e57469 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -1,11 +1,10 @@ - kind: pipeline type: ssh name: ssh-linux-test-hir-publish platform: - os: Linux - arch: 386 + os: linux + arch: amd64 clone: disable: true @@ -19,8 +18,8 @@ server: steps: - name: publish-test-hir commands: - - bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-to-test.sh || echo "publish failed" - + - bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-to-test.sh || echo "publish failed" + - name: notify-wecom commands: - | @@ -34,30 +33,23 @@ steps: COLOR="warning" fi - curl -X POST 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cdd97aab-d256-4f07-9145-a0a2b1555322' \ - -H 'Content-Type: application/json' \ - -d "{ - \"msgtype\": \"markdown\", - \"markdown\": { - \"content\": \"${MSG}\n + curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cdd97aab-d256-4f07-9145-a0a2b1555322" \ + -H "Content-Type: application/json" \ + -d @- < 项目:${DRONE_REPO_NAME}\n > 分支:${DRONE_BRANCH}\n > 构建号:${DRONE_BUILD_NUMBER}\n -> 状态:${STATUS}\" - } - }" +> 状态:${STATUS}" + } +} +EOF when: status: [ success, failure ] - - trigger: branch: - - Test_HIR_Net8 - - - - - - - \ No newline at end of file + - Test_HIR_Net8