WIP - describing notification syntax.

pull/1/head
Jason Kulatunga 4 years ago
parent c7f529ab41
commit 6ec13e48b8

@ -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:

@ -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:

Loading…
Cancel
Save