mirror of
https://codeberg.org/icewind/rss-webhook-trigger.git
synced 2026-06-03 18:04:09 +02:00
document loading headers from files
This commit is contained in:
parent
ca0774006b
commit
52e50df8cd
1 changed files with 7 additions and 0 deletions
|
|
@ -22,6 +22,13 @@ hook = "https://hook.example.com/hook2/call"
|
||||||
headers = { authorization = "...." }
|
headers = { authorization = "...." }
|
||||||
body = { event_type = "build" }
|
body = { event_type = "build" }
|
||||||
|
|
||||||
|
# you can load header values from external files to keep your screts separate
|
||||||
|
[[feed]]
|
||||||
|
feed = "https://example.com/feed3.xml"
|
||||||
|
hook = "https://hook.example.com/hook3/call"
|
||||||
|
headers = { authorization = "/run/secrets/hook-auth" }
|
||||||
|
body = { event_type = "build" }
|
||||||
|
|
||||||
# trigger on docker hub updates instead of rss feed update
|
# trigger on docker hub updates instead of rss feed update
|
||||||
[[feed]]
|
[[feed]]
|
||||||
feed = "docker-hub://matrixdotorg/synapse"
|
feed = "docker-hub://matrixdotorg/synapse"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue