mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-29 22:41:19 +01:00
update webhook
This commit is contained in:
@@ -1 +0,0 @@
|
||||
[]
|
||||
13
webhook/data/hooks.yaml
Normal file
13
webhook/data/hooks.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
- id: test
|
||||
execute-command: /etc/webhook/test.sh
|
||||
pass-file-to-command:
|
||||
- source: entire-payload
|
||||
envname: HOOK_PAYLOAD
|
||||
command-working-directory: /etc/webhook
|
||||
include-command-output-in-response: true
|
||||
|
||||
- id: osmand
|
||||
execute-command: '/bin/echo'
|
||||
pass-arguments-to-command:
|
||||
- source: entire-query
|
||||
response-message: "OK\n"
|
||||
@@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'hello world'
|
||||
|
||||
cat $HOOK_PAYLOAD
|
||||
|
||||
Reference in New Issue
Block a user