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}"
Kirby Klub is not affiliated with the developers of Kirby CMS. We are merely standing on the shoulder of giants.
© 2024 Bruno Meilick All rights reserved.