Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 813 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 813 Bytes

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 }}