From e4ed39f34b64a63cc9b45385b09b90dba980410b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=88=E5=A4=95=E8=8A=B1=E6=99=A8?= <825210484@qq.com> Date: Fri, 28 Jun 2024 11:40:05 +0800 Subject: [PATCH] test --- .drone.yml | 15 ++++++++++++++- drone/index.md | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 drone/index.md diff --git a/.drone.yml b/.drone.yml index 4cda225..b0b8995 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,20 @@ type: docker name: default steps: - - name: build1 + - name: build image: node:12.16.3 commands: - npm config set registry http://registry.npm.taobao.org + - name: notification + image: lddsb/drone-dingtalk-message + settings: + token: 840fed65878154561a096c03a516ded894ab1b91efbe1643fe492dd93593e7a3 + type: markdown + secret: SEC9fe40cc775658cbef7a30b43fd852b642201754f15df42cd339627e05cfde41e + tpl: ./drone/index.md + tips_title: 杭州web构建 + success_pic: https://i.ibb.co/CB4HBLP/success-1.png + failure_pic: https://i.ibb.co/wM2rbGS/fail-1.png +trigger: + branch: + - master diff --git a/drone/index.md b/drone/index.md new file mode 100644 index 0000000..c36f354 --- /dev/null +++ b/drone/index.md @@ -0,0 +1,17 @@ +![结果]([TPL_STATUS_PIC]) + +仓库:[TPL_REPO_SHORT_NAME] + +分支:[TPL_COMMIT_BRANCH] + +commit: [查看]([TPL_COMMIT_LINK]) + +结果:[TPL_BUILD_STATUS] + +耗时:[TPL_BUILD_CONSUMING]s + +作者:[[TPL_AUTHOR_NAME]([TPL_AUTHOR_EMAIL])](mailto:[TPL_AUTHOR_EMAIL]) + +详情:[查看]([TPL_BUILD_LINK]) + +沈昆测试 \ No newline at end of file