mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-01-13 16:10:09 +08:00
Updated notify (markdown)
parent
4629a23aab
commit
1619bbbae1
20
notify.md
20
notify.md
@ -673,3 +673,23 @@ export AWS_SES_FROM_NAME="Something"
|
||||
|
||||
acme.sh --set-notify --notify-hook aws_ses
|
||||
```
|
||||
|
||||
## 24. Set notification for Mattermost Bot
|
||||
First, create a bot account on your Mattermost https://developers.mattermost.com/integrate/reference/bot-accounts/. Don't forget save bot's Access Token.
|
||||
Then set the environment variables.
|
||||
API URL (current at https://api.mattermost.com/):
|
||||
```sh
|
||||
export MATTERMOST_API_URL=https://you_mattermost_server/api/v4
|
||||
```
|
||||
Channel ID for notifications. Find the Channel ID in the Web Interface or Desktop Application by click View Info button.
|
||||
```sh
|
||||
export MATTERMOST_API_URL=7qirnh3c5trg9xa6za38shdjby
|
||||
```
|
||||
Bot Token:
|
||||
```sh
|
||||
export ATTERMOST_BOT_TOKEN=eb3ex6mg6id5xen5zmtrjcjrfo
|
||||
```
|
||||
and finally turn on acme.sh notifications:
|
||||
```sh
|
||||
acme.sh --set-notify --notify-hook mattermost
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user