Skip to content

Send POST request to trigger a webhook with GitHub Actions.

License

Notifications You must be signed in to change notification settings

UKHSA-Internal/webhook-action

 
 

Repository files navigation

webhook-action

GitHub Action that sends a POST request. Useful for triggering a webhook for CI/CD.

Inputs

url

Required: URL of webhook to send post request to.

data

Optional: JSON string of data to pass into request. Default "{}".

Example usage

uses: muinmomin/webhook-action@v1.0.0
with:
  url: ${{ secrets.WEBHOOK_URL }}
  data: "{'command': 'publish'}"

Contributing

Feel free to open issues or submit PRs.

About

Send POST request to trigger a webhook with GitHub Actions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 61.9%
  • TypeScript 38.1%