Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 2.25 KB

File metadata and controls

38 lines (32 loc) · 2.25 KB

Nitro Fusion Publish

A GitHub Action that publishes GraphQL source schemas to the Nitro registry.

Usage

- uses: ChilliCream/nitro-fusion-publish@v16
  with:
    tag: <tag>
    stage: <stage>
    api-id: <api-id>
    api-key: <api-key>
    source-schemas:
      - products # This will look for products@<tag>
      - reviews@2.0.0
    # Optional
    force: true
    wait-for-approval: true
    legacy-v1-archive: ./path/to/fusion-v1.fgp
    cloud-url: <cloud-url>

Inputs

Name Required Description
tag Yes The tag of the source schema version
stage Yes The name of the stage
api-id Yes The ID of the API
api-key Yes API key for authentication
source-schemas Yes Source schemas to include (e.g. example or example@1.0.0). If no version is specified, the tag value is used.
force No Continue publishing even if breaking changes or validation errors are detected.
wait-for-approval No Require approval in the Nitro UI to continue publishing when breaking changes or validation errors are detected.
legacy-v1-archive No The path to a Fusion v1 archive file.
cloud-url No The URL of the Nitro registry

If you self-host Nitro or use a dedicated hosted instance, you can specify the cloud-url input to point to your instance.