Set notification for feishu.cn

zhoudong 2021-11-04 01:08:42 +08:00
parent 6ad474ba95
commit afce75cd93

@ -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.
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
```