Authenticating in CI
CI Environments
If you want to install the Klub plugin in CI environments like GithubActions you still need to provide the license ID and license key for Composer to be found.
It's not recommended to store your credentials in the auth.json
file committed to your source control repository.
Instead, inject environment variables from your CI system's pipeline to create the auth.json
file dynamically.
composer config http-basic.klub.bnomei.com "${KLUB_LICENSE_ID}" "${KLUB_LICENSE_KEY}"