Deploys your feature pipelines to Chalk.
This action deploys your feature pipelines to Chalk from GitHub's hosted Actions runners.
This action can be run on ubuntu-latest
and macos-latest
GitHub Actions runners, and will install and expose a specified version of the
chalk
CLI on the runner environment.
steps:
- uses: chalk-ai/deploy-action@v2
with:
client-id: ...
client-secret: ...
You can also deploy to branches with this workflow:
steps:
- uses: chalk-ai/deploy-action@v2
with:
branch: ${{ GITHUB_REF_NAME }}
client-id: ...
client-secret: ...
The action supports the following inputs:
client-id
: The Chalk Client ID from the tokens page in your settings.client-secret
: The Chalk Client Secret from the tokens page in your settings.await
(optional): Should this step block until it completes? Defaults to true.branch
(optional): By default, Chalk will deploy to your production environment. Withbranch
, your pipelines will deploy to a Chalk branch.version
(optional): The version ofchalk
to install, defaulting tolatest
.api-host
(optional): If you're using a self-hosted deployment, the API host where Chalk is hosted.environment
(optional): The Chalk environment to use. Your token is typically scoped to a single environment, and you won't need to use this parameter.no-promote
(deprecated): By default, Chalk will deploy to your production environment. Withno-promote
, your pipelines will deploy to a preview environment.
Apache 2.0