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:
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
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):
When ready, add and configure the Heroku action from the IaaS deployment section:
Your workflow should look like this. Notice we've added a conditional notification that will keep us posted in case something goes wrong:
When ready, make a push to the assigned branch and watch Buddy build, test and deploy your application:
You use lots of tools to get web & app development done. Buddy creates more time in your day by helping you automate those tools.