From fef221a278a87993c4646760a7b75a04814f9fa6 Mon Sep 17 00:00:00 2001 From: lzwang Date: Fri, 2 Sep 2022 23:51:17 +0800 Subject: [PATCH] feat(drone): test wechat --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.yml b/.drone.yml index 706d942..b82aef8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,3 +7,17 @@ steps: # 定义管道的执行步骤 commands: # 当前步骤执行的命令 - echo 测试drone执行 - echo "Hello Drone" + + - name: "测试微信推送" + image: clem109/drone-wechat + settings: + corpid: + from_secret: wechat_corp_id + corp_secret: + from_secret: wechat_corp_secret + agent_id: + from_secret: wechat_agent_id + title: ${DRONE_REPO_NAME} + description: "Build Number: ${DRONE_BUILD_NUMBER} failed. ${DRONE_COMMIT_AUTHOR} please fix. Check the results here: ${DRONE_BUILD_LINK} " + msg_url: ${DRONE_BUILD_LINK} + btn_txt: btn