diff --git a/notify.md b/notify.md index f247bad..5d76eea 100644 --- a/notify.md +++ b/notify.md @@ -477,4 +477,21 @@ Ok, let's set notification hook: acme.sh --set-notify --notify-hook pushbullet ``` -The PUSHBULLET_TOKEN and PUSHBULLET_DEVICE will be saved in ~/.acme.sh/account.conf and will be reused when needed. \ No newline at end of file +The PUSHBULLET_TOKEN and PUSHBULLET_DEVICE will be saved in ~/.acme.sh/account.conf and will be reused when needed. + +## 15. Set notification for feishu.cn(飞书) + +Send notification to feishu group via webhook api. +First create a group robot, get your webhook url, and set a keyword. + +推送通知到飞书群聊天机器人. +先在群设置中添加一个群机器人,获得 webhook 地址,并设置一个关键字(目前暂不支持签名模式)。 + +API说明:https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN + +```sh +export FEISHU_WEBHOOK='https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxxxxxxx' +export FEISHU_KEYWORD=acme + +acme.sh --set-notify --notify-hook feishu +``` \ No newline at end of file