diff --git a/notify.md b/notify.md index 1d45478..43c5e9c 100644 --- a/notify.md +++ b/notify.md @@ -270,3 +270,25 @@ acme.sh --set-notify --notify-hook xmpp The `XMPP_TO`, `XMPP_BIN` and `XMPP_BIN_ARGS` will be saved in ~/.acme.sh/account.conf and will be reused when needed. On debian based systems `sendxmpp` has problems validating certificates (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854210). + + +## 9. Set notification for dingtalk.com(钉钉) + +Push notification to dingtalk group by group robot webhook api. +First create a group robot, get your webhook url, and set a keyword. + +推送通知到钉钉群聊天机器人. 现在群设置中添加一个 webhook 机器人. 获得 webhook url. 并设置一个 keyword. 目前不支持签名模式. + +```sh +export DINGTALK_WEBHOOK='https://oapi.dingtalk.com/robot/send?access_token=b05ccexxxxx' +export DINGTALK_KEYWORD=acme + +acme.sh --set-notify --notify-hook dingtalk + +``` + + + + + +