An open API service indexing awesome lists of open source software.

https://github.com/chillicream/nitro-schema-publish


https://github.com/chillicream/nitro-schema-publish

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

          

# Nitro Schema Publish

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

## Usage

```yaml
- uses: ChilliCream/nitro-schema-publish@v16
with:
tag:
stage:
api-id:
api-key:
# Optional
force: false
wait-for-approval: false
cloud-url:
```

## Inputs

| Name | Required | Description |
| ------------------- | -------- | ------------------------------------------------------ |
| `tag` | Yes | The tag of the schema version |
| `stage` | Yes | The name of the stage |
| `api-id` | Yes | The ID of the API |
| `api-key` | Yes | API key for authentication |
| `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. |
| `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.