add support for setting global response headers using -header flag

add support for setting response headers for a successfuly triggered hook
This commit is contained in:
Adnan Hajdarevic 2016-02-27 22:13:09 +01:00
parent f620cb056b
commit 37698e63b6
4 changed files with 72 additions and 11 deletions

View file

@ -4,6 +4,13 @@
"execute-command": "/home/adnan/redeploy-go-webhook.sh",
"command-working-directory": "/home/adnan/go",
"response-message": "I got the payload!",
"response-headers":
[
{
"name": "Access-Control-Allow-Origin",
"value": "*"
}
],
"pass-arguments-to-command":
[
{