Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
zap

GitHub Action

Kalix CLI Action

v7

Kalix CLI Action

zap

Kalix CLI Action

Runs the Kalix CLI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Kalix CLI Action

uses: lightbend/kalix-action@v7

Learn more about this action in lightbend/kalix-action

Choose a version

Kalix CLI for GitHub Actions

This action provides a wrapper for the Kalix CLI. The action executes whatever commands you specify, and requires you've created an authentication token first.

Usage

The action takes two required variables to authenticate and set the project you want to work on correctly:

  • token: The Kalix authentication token
  • project: The project ID for the Kalix project you're using

Example Workflow

The below flow shows how to use this action to list all services in your project

name: kalix

on: 
  push:
    branches: [ main ]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - name: List Services
              uses: lightbend/kalix-action@v7
              with:
                cmd: "services list"
              env:
                token: ${{ secrets.TOKEN }}
                project: ${{ secrets.PROJECT }}

Contributing

We welcome all contributions! Pull requests are the preferred way to share your contributions. For major changes, please open an issue first to discuss what you would like to change.

Support

This project is an incubator

License

See the LICENSE