Deploy to Heroku
Buddy lets you seamlessly integrate Heroku development in a CI/CD process with automatic deployments and remote command execution via the Heroku CLI.
Example pipeline with Heroku deployment and CLI commands
If you are new to Buddy, check out our quickstart guides that will tell you how to create build, test and deploy your type of application.
đź“š Learn more about Heroku action features, integrations and alternatives.
Configure pipeline in Buddy
- Create a new project in Buddy and select your Git provider:
Creating a new project
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Adding a new pipeline
Configure Heroku deployment
- Look up and click Heroku on the action list to add it to the pipeline:
Heroku actions
- The action uses
git push
to upload files and has four configuration tabs:
- Push – here you select the Heroku integration, define the files to ignore, and set additional Git options
- Variables – here you can add and modify environment variables required by your workflow
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
Heroku action configuration
- When ready, click Add this action to finish configuration.
Congratulations! You have just automated deployments to your Heroku platform. 🥳
Heroku CLI
The Heroku CLI action lets you run any method from the Heroku API. Once triggered, it launches a container with the Heroku CLI installed and executes commands in the context of selected application – just like you'd do it in your system terminal.
Heroku CLI action configuration
Last modified on December 12, 2023