Skip to content

svix/svix-event-type-import-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Upload Event Types to Svix - GitHub Action

This GitHub action reads and uploads an OpenAPI spec (in JSON or YAML format) and uploads it to Svix to create event types for your webhooks. For more information, check out our docs.

Inputs

openapi-file

Required
Location of the OpenAPI spec file (can be in JSON or YAML format).

svix-api-key

Required
Your Svix API key.

svix-api-url

Optional Override the Svix API URL. If not set, the URL will be determined using the API Key.

replace-all

Optional If true, archives all existing event types that are not in the OpenAPI spec. Default: false.

Usage

To use this GitHub Action in your workflow, you can add the following step:

- name: Upload Event Types to Svix
  uses: svix/[email protected]
  with:
    openapi-file: 'path/to/your/openapi-spec.yml' # can be a .json too
    svix-api-key: ${{ secrets.SVIX_API_KEY }}

Documentation

For a more information, checkout our API reference.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published