mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
Updated notify (markdown)
10
notify.md
10
notify.md
@@ -344,10 +344,10 @@ First get your [Microsoft Teams Webhook URL](https://docs.microsoft.com/en-us/mi
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
export TEAMS_WEBHOOK_URL=""
|
export TEAMS_WEBHOOK_URL=""
|
||||||
export TEAMS_THEME_COLOR=""
|
export TEAMS_THEME_COLOR="586069"
|
||||||
export TEAMS_SUCCESS_COLOR=""
|
export TEAMS_SUCCESS_COLOR="2cbe4e"
|
||||||
export TEAMS_ERROR_COLOR=""
|
export TEAMS_ERROR_COLOR="cb2431"
|
||||||
export TEAMS_SKIP_COLOR=""
|
export TEAMS_SKIP_COLOR="586069"
|
||||||
```
|
```
|
||||||
|
|
||||||
Ok, let's set notification hook:
|
Ok, let's set notification hook:
|
||||||
@@ -358,5 +358,5 @@ acme.sh --set-notify --notify-hook teams
|
|||||||
|
|
||||||
The `TEAMS_WEBHOOK_URL`, `TEAMS_THEME_COLOR`, `TEAMS_SUCCESS_COLOR`, `TEAMS_ERROR_COLOR` and `TEAMS_SKIP_COLOR` will be saved in ~/.acme.sh/account.conf and will be reused when needed.
|
The `TEAMS_WEBHOOK_URL`, `TEAMS_THEME_COLOR`, `TEAMS_SUCCESS_COLOR`, `TEAMS_ERROR_COLOR` and `TEAMS_SKIP_COLOR` will be saved in ~/.acme.sh/account.conf and will be reused when needed.
|
||||||
|
|
||||||
|
To omit default color set variable value to any non xdigit character, eg. `TEAMS_SUCCESS_COLOR="-"`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user