Heroku CLI

Do more with Heroku CLI

Buddy CI/CD allows you to instantly implement Heroku CLI with 100+ ready to use actions to automate your development and build better apps faster.

Use Heroku CLI in Buddy CI/CD

Heroku CLI - Features, integrations, alternatives & more

What it does

This action executes Heroku CLI commands. The Heroku Command Line Interface (CLI) makes it easy to create and manage your Heroku apps directly from the terminal. It’s an essential part of using Heroku.

How it works

The action launches a container with preinstalled Heroku CLI. Once launched, it’s already authorized against provided in the action settings of Heroku account. The container has mounted pipeline filesystem which contains pulled repository.

The action uses Buddy’s OAuth integration with a Heroku account.

Action preview

Preview Heroku CLI action

Heroku CLI Action Features

  • The commands support Environment Variables and Buddy Params
  • The field Run commands supports multiple commands (one per line), piping commands together, or splitting a single command into multiple lines with \ (backslash) at the end of each line
  • The action can be configured in YAML mode. See Heroku CLI YAML parameters and Heroku CLI YAML config example
  • Buddy's Heroku CLI API is supported
  • The action supports conditional execution: it can be run on each execution, only if there are changes in the repository or specific paths since last execution or if an environment variable has a specific value
  • Optionally it’s possible to select Heroku application using the action UI, in that case parameter --app is not needed
  • The commands are executed in the context of the pipeline’s filesystem, it means that if a command creates a file, it will stay in the filesystem
  • It’s possible to get data from Heroku and pass it to settable environment variables which can be later used by the next actions in the pipeline
  • Action is marked as failed when a command exits with non-zero value
  • Error handling: you can either stop the execution, mark action and pipeline as failed or proceed the execution, mark action as warning and jump to the next action

More about Heroku CLI

Do more with Heroku CLI

Buddy allows you to instantly connect Heroku CLI with 100+ actions to automate your development and build better apps faster.

Connect Heroku CLI to 100+ dev tools
1 - 3 (of 157)