Skip to content

Send POST request to trigger a webhook with GitHub Actions.

License

Notifications You must be signed in to change notification settings

muinmomin/webhook-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

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/[email protected]
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

Contributors 3

  •  
  •  
  •