diff --git a/webhook/README.md b/webhook/README.md index d0cfd63..d28e5f0 100644 --- a/webhook/README.md +++ b/webhook/README.md @@ -36,7 +36,8 @@ hooks.json { "id": "test", "execute-command": "/etc/webhook/test.sh", - "command-working-directory": "/etc/webhook" + "command-working-directory": "/etc/webhook", + "include-command-output-in-response": true } ] ``` @@ -59,6 +60,7 @@ $ docker-compose up -d Creating webhook_webhook_1... $ curl http://localhost:9000/hooks/test +hello world $ docker-compose logs Attaching to webhook_webhook_1 diff --git a/webhook/data/hooks.json b/webhook/data/hooks.json index 851e2ef..e176317 100644 --- a/webhook/data/hooks.json +++ b/webhook/data/hooks.json @@ -2,6 +2,7 @@ { "id": "test", "execute-command": "/etc/webhook/test.sh", - "command-working-directory": "/etc/webhook" + "command-working-directory": "/etc/webhook", + "include-command-output-in-response": true } ]