GitHub Action
Setup Configu CLI
The configu/setup-cli-action action is a JavaScript action that sets up Configu CLI in your GitHub Actions workflow by downloading a specific version of Configu CLI and adding it to the PATH
.
After you've used the action, subsequent steps in the same job can run arbitrary Configu CLI commands. All of Configu commands work exactly like they do on your local command line.
This action can be run on ubuntu-latest
, windows-latest
, and macos-latest
GitHub Actions runners. When running on windows-latest
the shell should be set to Bash.
The default configuration installs the latest version of Configu CLI.
steps:
- uses: configu/setup-cli-action@v1
A specific version of Configu CLI can be installed.
steps:
- uses: configu/setup-cli-action@v1
with:
version: 0.4.4
Credentials for Configu store
(app.configu.com) can be configured.
jobs:
job1:
runs-on: ubuntu-latest
env:
CONFIGU_ORG: ${{ secrets.CONFIGU_ORG }}
CONFIGU_TOKEN: ${{ secrets.CONFIGU_TOKEN }}
steps:
- name: Setup Configu CLI
uses: configu/setup-cli-action@v1
- name: Export configurations
run: configu export --store "configu://-" --set "production" --schema "path/to/schema.cfgu.json"
The action supports the following inputs.
This Action is licensed under Apache License 2.0.