Skip to content

An extremely simple JavaScript action for triggering webhooks.

License

Notifications You must be signed in to change notification settings

1ockwood/simple-webhook-trigger-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

Simple Webhook Trigger

An extremely simple JavaScript action for triggering webhooks. Useful for triggering deploys on Cloudflare Pages, Netlify, etc., and other situations where you only need to send a simple request to a webhook URL.

The code and dependencies (@actions/core are compiled to dist using @vercel/ncc.

Inputs

webhook-url

[Required] The URL for the webhook to trigger.

webhook-method

[Optional] The method used for triggering the webhook, e.g., POST, GET, etc. Defaults to POST.

Outputs

This action does not set any outputs.

Example usage

uses: 1ockwood/simple-webhook-trigger-action@v1
with:
  webhook-url: ${{ secrets.DEPLOY_WEBHOOK_URL }}

About

An extremely simple JavaScript action for triggering webhooks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published