Browse Source

更新 '.drone.yml'

gogs 1 year ago
parent
commit
b2f99e2c3f
1 changed files with 21 additions and 21 deletions
  1. 21 21
      .drone.yml

+ 21 - 21
.drone.yml

@@ -300,27 +300,27 @@ steps:
     msg_url: ${DRONE_BUILD_LINK}
     btn_txt: bt
     
-- name: webhook
-  image: plugins/webhook
-  settings:
-    username: myusername
-    password: mypassword
-    urls: https://your.webhook/...
-    content_type: application/json
-    template: |
-        {
-          "msgtype": "markdown",
-          "markdown": {
-              "content": "{{#success build.status}}✅{{else}}❌{{/success}}**{{ repo.owner }}/{{ repo.name }}** (Build #{{build.number}})\n
-                          >**构建结果**: {{ build.status }}
-                          >**构建详情**: [点击查看]({{ build.link }})
-                          >**代码分支**: {{ build.branch }}
-                          >**提交标识**: {{ build.commit }}
-                          >**提交发起**: {{ build.author }}
-                          >**提交信息**: {{ build.message }}
-        "
-          }
-        }
+#- name: webhook
+#  image: plugins/webhook
+#  settings:
+#    username: myusername
+#    password: mypassword
+#    urls: https://oapi.dingtalk.com/robot/send?access_token=
+#    content_type: application/json
+#    template: |
+#        {
+#          "msgtype": "markdown",
+#          "markdown": {
+#              "content": "{{#success build.status}}✅{{else}}❌{{/success}}**{{ repo.owner }}/{{ repo.name }}** (Build #{{build.number}})\n
+#                          >**构建结果**: {{ build.status }}
+#                          >**构建详情**: [点击查看]({{ build.link }})
+#                          >**代码分支**: {{ build.branch }}
+#                          >**提交标识**: {{ build.commit }}
+#                          >**提交发起**: {{ build.author }}
+#                          >**提交信息**: {{ build.message }}
+#        "
+#          }
+#        }
     
 volumes:
 - name: mvnCache