Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

GitHub Actions

Deploy feature pipelines in GitHub Actions.

Docs: https://docs.chalk.ai/docs/github-actions

CLI Step: https://github.com/chalk-ai/cli-action

Deploy Step: https://github.com/chalk-ai/deploy-action

1. Install Chalk CLI

Install the Chalk CLI in a GitHub Action.

1_install_chalk_cli.yaml

- uses: chalk-ai/cli-action@v2
  with:
    client-id: ${{secrets.CHALK_CLIENT_ID}}
    client-secret: ${{secrets.CHALK_CLIENT_SECRET}}

Docs: https://docs.chalk.ai/docs/github-actions

Step: https://github.com/chalk-ai/cli-action

2. Deploy with Chalk

Deploy to Chalk (either as a preview deployment or to production).

2_deploy_with_chalk.yaml

- uses: chalk-ai/deploy-action@v2
  with:
    client-id: ${{secrets.CHALK_CLIENT_ID}}
    client-secret: ${{secrets.CHALK_CLIENT_SECRET}}
    await: true

Docs: https://docs.chalk.ai/docs/github-actions

Step: https://github.com/chalk-ai/deploy-action

3. Preview deployments

Set up preview deployments for all PRs.

3_deploy_preview.yaml

- uses: chalk-ai/deploy-action@v2
  with:
    client-id: ${{secrets.CHALK_CLIENT_ID}}
    client-secret: ${{secrets.CHALK_CLIENT_SECRET}}
    await: true
    no-promote: true

Docs: https://docs.chalk.ai/docs/github-actions

Step: https://github.com/chalk-ai/deploy-action