From e0494aee411b97b351dba728a8b572e260cc75d0 Mon Sep 17 00:00:00 2001 From: jackspirou Date: Sat, 21 Nov 2015 12:01:42 -0600 Subject: [PATCH] updating readme --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 494fafc..afdd537 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # drone-webhook -Drone plugin for sending Webhook notifications by [@chromakode](https://github.com/chromakode). +Drone plugin for sending Webhook notifications. ## Overview @@ -25,7 +25,18 @@ This plugin is responsible for sending build notifications via Webhooks: "author_email": "john.smith@gmail.com" }, "vargs": { - "urls": [ "https://your.webhook/..." ] + "urls": ["https://your.webhook/..."], + "debug": true, + "auth": { + "username": "johnsmith", + "password": "secretPass" + }, + "headers": { + "SomeHeader": "SomeHeaderValue" + }, + "method": "POST", + "template": "{\"git_branch\": \"{{ .Build.Branch }}\"}", + "content_type": "application/json" } } EOF @@ -63,7 +74,18 @@ docker run -i plugins/drone-webhook <