CI/CD with GitHub Actions and Heroku

Can you create an iOS & Android app with Ruby on Rails?

When your working on startup’s MVP and finding ways to speed up the process.

You’ve heard about agile and start implement agile methods to your team.

Then you stumbled upon the technical term CI/CD. Although they are always lumped together, they are two distinct stages in software development.

What is CI?

What is Hybrid App Development? - Ademar Tutor

What is CD?

CD stands for Continuous Deployment.

Continuous Deployment is a software development practice where code changes are automatically tested, built, and deployed to production environments as soon as they are ready.

Using the food analogy in CI, think of CD as a pizza delivery service. A pizza delivery service that is always ready to deliver fresh pizzas as soon as they are prepared.

CD - Ademar Tutor

Just like how a pizza restaurant constantly makes and delivers pizzas to customers, with Continuous Deployment, new code changes are automatically deployed to production as soon as they are tested and approved, providing a fast and efficient way to deliver updates to end-users.

Convinced with the benefits of CI/CD?

Let me share with the basic CI/CD practices that we do at my company:

Github

#1 is Github Actions.

If you are already using Github to setup your repositories, you can use Github Actions to run your unit tests every time you issue PR. This automation enables ensures that all the unit tests have passed before you merge that PR.

Heroku

#2 is Heroku Github Deploys

If you are using Heroku as your servers. You can use Heroku Github Deploys. Once you can set in the configs that after all your Unit Tests are successful, it automatically deploys your application.

Ruby on Rails Developers

What is Ruby on Rails? - Ademar Tutor

As apps developers deployings Rails apps on Heroku and using Github as a repository, those are the two most easiest things you do to implement CI/CD initially.

Even if you are not using the Rails tech stack, you can still use Github and Heroku for CI.

Hopefully, those two steps can help your team on your CI/CD journey.

Diamond Icon

Have a startup idea?

Email me about your project idea and I’ll provide you with a plan on how we can build an MVP version of it in a month.

Got an idea? Let's work on it!