WIP - describing notification syntax.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: CI
|
name: CI
|
||||||
# This workflow is triggered on pushes to the repository.
|
# This workflow is triggered on pushes to the repository.
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+17
-7
@@ -34,13 +34,23 @@ disks:
|
|||||||
# - /dev/sdb
|
# - /dev/sdb
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
metric:
|
level: 'warn' # 'warn' or 'error'
|
||||||
script: 'notify-metrics.sh'
|
urls:
|
||||||
long:
|
- "discord://token@channel"
|
||||||
script: 'notify-long-test.sh'
|
- "telegram://token@telegram?channels=channel-1[,channel-2,...]"
|
||||||
short:
|
- "pushover://shoutrrr:apiToken@userKey/?devices=device1[,device2, ...]"
|
||||||
script: 'notify-short-test.sh'
|
- "slack://[botname@]token-a/token-b/token-c"
|
||||||
|
- "smtp://username:password@host:port/?fromAddress=fromAddress&toAddresses=recipient1[,recipient2,...]"
|
||||||
|
- "teams://token-a/token-b/token-c"
|
||||||
|
- "gotify://gotify-host/token"
|
||||||
|
- "pushbullet://api-token[/device/#channel/email]"
|
||||||
|
- "ifttt://key/?events=event1[,event2,...]&value1=value1&value2=value2&value3=value3"
|
||||||
|
- "mattermost://[username@]mattermost-host/token[/channel]"
|
||||||
|
- "hangouts://chat.googleapis.com/v1/spaces/FOO/messages?key=bar&token=baz"
|
||||||
|
- "zulip://bot-mail:bot-key@zulip-domain/?stream=name-or-id&topic=name"
|
||||||
|
- "join://shoutrrr:api-key@join/?devices=device1[,device2, ...][&icon=icon][&title=title]"
|
||||||
|
- "script:///file/path/on/disk"
|
||||||
|
- "https://www.example.com/path"
|
||||||
|
|
||||||
collect:
|
collect:
|
||||||
metric:
|
metric:
|
||||||
|
|||||||
Reference in New Issue
Block a user