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.
[Required] The URL for the webhook to trigger.
[Optional] The method used for triggering the webhook, e.g., POST
, GET
, etc. Defaults to POST
.
This action does not set any outputs.
uses: 1ockwood/simple-webhook-trigger-action@v1
with:
webhook-url: ${{ secrets.DEPLOY_WEBHOOK_URL }}