Feature update: Deploy builds to Heroku
In response to numerous requests from the community, we're happy to announce that our Heroku action now supports build deployments.
Until now, it was only possible to deploy raw files from the repository. With the last release you can use Buddy to build your application first and deploy it to Heroku in its final form with artifacts and dependencies. This solution brings a series of benefits:
- application downtime is reduced
- you can test your app before the deployment
- performance is optimized since every build is performed in an isolated Docker container
- you can easily expand your workflow beyond Heroku capabilities with 70+ actions, including dedicated builds for every popular language and framework, application monitoring, and notifications
How to build and deploy to Heroku on a push to branch
- Sign up to Buddy with your GitHub/Bitbucket account or email
Select your Git provider and choose your project:
Image loading...
Add and configure a new pipeline:
- enter the name
- set the trigger mode to 'On every push'
select the branch from which you want to deploy
Image loading...
Now it's time to reproduce your workflow with Buddy's actions. Select the build action for your tech and configure the details. In this example we'll use Node.js (You can install tools and dependencies in the Packages & Setup tab):
Image loading...
When ready, add and configure the Heroku action from the IaaS deployment section:
Image loading...
Your workflow should look like this. Notice we've added a conditional notification that will keep us posted in case something goes wrong:
Image loading...
When ready, make a push to the assigned branch and watch Buddy build, test and deploy your application:
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.