Update README

This commit is contained in:
Daniel Natic 2021-01-13 09:58:16 -05:00
parent f6182364e6
commit 0c8c029764

View File

@ -20,6 +20,7 @@ Example:
url: ${{ secrets.WEBHOOK_URL }}
headers: '{"repository": "joelwmale/webhook-action"}'
body: '{"event": "deployment", "repository": "joelwmale/webhook-action"}'
insecure: false
```
It is **highly** recommended to use the action is an explicit commit SHA-1:
@ -33,6 +34,7 @@ The action has support for the following input variables (arguments):
* **`url`** (**required**): The url to send the webhook to
* **`headers`** (**optional**): Any headers you want to be sent with the webhook
* **`body`** (**optional**): The body of data send with the webhook
* **`insecure`** (**optional**): Enables calling to known self-signed or invalid SSL certificates
You can find more information on how to use these input variables below.