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