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

https://github.com/opvious/api-server-action

GitHub action to set up an API server
https://github.com/opvious/api-server-action

Last synced: about 2 months ago
JSON representation

GitHub action to set up an API server

Awesome Lists containing this project

README

        

# Set up API server action

```yaml
steps:
# ...
- uses: opvious/[email protected]
with:
license-key: ${{ secrets.OPVIOUS_LICENSE_KEY }} # Optional
```

## Inputs

All inputs are optional.

+ `license-key`: license key to unlock advanced API capabilities
+ `cli-version`: [CLI][] version, defaults to `latest`
+ `image-tag`: [server image][] tag, defaults to `latest`
+ `log-level`: log level, defaults to `info`
+ `skip-node-setup`: skip Node setup action, useful if already done

## Outputs

This action has no outputs. It sets the `OPVIOUS_ENDPOINT` and `OPVIOUS_TOKEN`
environment variables appropriately for later use by SDKs. The [`opvious`
CLI][CLI] is also installed for use in follow up steps.

## License

This action is licensed under Apache 2.0. The underlying [server image][] is
subject to the [Opvious API image EULA][EULA].

[server image]: https://hub.docker.com/r/opvious/api-server
[EULA]: https://www.opvious.io/end-user-license-agreements/api-image
[CLI]: https://www.npmjs.com/package/opvious-cli