Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muinmomin authored Feb 17, 2020
1 parent 117dff5 commit 7c067ef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# webhook-action

Send a POST request to trigger any webhook
GitHub Action that sends a POST request. Useful for triggering a webhook for CI/CD.

## Inputs

Expand All @@ -16,8 +16,13 @@ Optional: JSON string of data to pass into request. Default `"{}"`.
## Example usage

```yaml
uses: muinmomin/webhook-action@v1
uses: muinmomin/webhook-action@v1.0.0
with:
url: ${{ secrets.WEBHOOK_URL }}
data: "{'command': 'publish'}"
```
## Contributing
Feel free to open issues or submit PRs.

0 comments on commit 7c067ef

Please sign in to comment.