Skip to content
arrow-right

GitHub Action

Fast Webhook node20

v1 Latest version

Fast Webhook node20

arrow-right

Fast Webhook node20

A simple, fast-compiling Javascript Github Action to send a POST request with a JSON body

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Fast Webhook node20

uses: eallion/fast-webhook@v1

Learn more about this action in eallion/fast-webhook

Choose a version

logo

Fast Webhook

Github Action MIT license

A simple, fast-compiling, JavaScript Github Action to send a POST request with a JSON body to a URL.

It builds very quickly (<1s) relative to Docker-based actions, which take ~30s, reducing build times.

Inputs

url

Required

The url to send the request to.

json

Optional

A JSON string to be sent as the POST body (e.g. '{"foo":"bar"}').

If this is not provided, or if the value is an empty string, an empty JSON body will be sent (i.e. '{}').

Outputs

None.

Example usage

uses: eallion/fast-webhook@v1
with:
  url: ${{ secrets.WEBHOOK_URL }}
  json: '{"foo": "bar"}'