- Convert project to Javascript/Typescript
- Allow custom headers to be passed in (optional)
- Allow body to be optional
This commit is contained in:
Joel Male
2020-08-26 10:52:47 +10:00
committed by GitHub
parent 749e2dcbc6
commit 1ada95e04a
5740 changed files with 1689439 additions and 50 deletions
+18
View File
@@ -0,0 +1,18 @@
name: 'Webhook'
description: 'Send a webhook event to anywhere!'
inputs:
url:
description: 'The url to send the webhook event to'
required: true
headers:
description: 'Additional headers to send alongside the defaults'
required: false
body:
description: 'The data sent to the webhook'
required: false
outputs:
status:
description: 'The status of the webhook event'
runs:
using: 'node12'
main: 'dist/main.js'