hooks.json: update local filepath
This commit is contained in:
parent
06fe509ee2
commit
6ed8bba74d
86
hooks.json
86
hooks.json
@ -1,47 +1,43 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "uname",
|
"id": "uname",
|
||||||
"execute-command": "uname",
|
"execute-command": "uname",
|
||||||
"command-working-directory": "/tmp",
|
"command-working-directory": "/tmp",
|
||||||
"response-message": "I got the payload!",
|
"response-message": "I got the payload!",
|
||||||
"include-command-output-in-response": true,
|
"include-command-output-in-response": true,
|
||||||
"response-headers":
|
"response-headers": [
|
||||||
[
|
{
|
||||||
{
|
"name": "Access-Control-Allow-Origin",
|
||||||
"name": "Access-Control-Allow-Origin",
|
"value": "*"
|
||||||
"value": "*"
|
}
|
||||||
}
|
],
|
||||||
],
|
"pass-arguments-to-command": [
|
||||||
"pass-arguments-to-command":
|
{
|
||||||
[
|
"source": "query",
|
||||||
{
|
"name": "args"
|
||||||
"source": "query",
|
}
|
||||||
"name": "args"
|
]
|
||||||
}
|
},
|
||||||
],
|
{
|
||||||
},
|
"id": "delivery-test-webhack",
|
||||||
{
|
"execute-command": "~/go_dev/src/github.com/jaypee-f/webhook/process_webhook.sh",
|
||||||
"id": "delivery-test-webhack",
|
"command-working-directory": "/tmp",
|
||||||
"execute-command": "/Users/john-paul.foster/go/src/github.com/iZettle/webhook/process_webhook.sh",
|
"success-http-response-code": 200,
|
||||||
"command-working-directory": "/tmp",
|
"include-command-output-in-response": true,
|
||||||
"success-http-response-code": 200,
|
"pass-arguments-to-command": [
|
||||||
"include-command-output-in-response": true,
|
{
|
||||||
"pass-arguments-to-command":
|
"source": "entire-payload"
|
||||||
[
|
}
|
||||||
{
|
],
|
||||||
"source": "entire-payload",
|
"response-headers": [
|
||||||
}
|
{
|
||||||
],
|
"name": "Access-Control-Allow-Origin",
|
||||||
"response-headers":
|
"value": "*"
|
||||||
[
|
},
|
||||||
{
|
{
|
||||||
"name": "Access-Control-Allow-Origin",
|
"name": "Content-Type",
|
||||||
"value": "*"
|
"value": "application/json"
|
||||||
},
|
}
|
||||||
{
|
]
|
||||||
"name": "Content-Type",
|
}
|
||||||
"value": "application/json"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user