Explaining CI/CD
Explore the concepts of Continuous Integration (CI) and Continuous Deployment (CD) to understand their roles in automating code integration and deployment. This lesson helps you grasp CI/CD workflows and prepares you to automate Django backend deployment on AWS using GitHub Actions, improving development efficiency and reliability.
We'll cover the following...
Before going deeper into GitHub Actions, we need to understand the terms CI and CD. In this section, we will go over each term and explain the differences.
CI
CI is a practice of automating the integration of code changes from multiple collaborators into a single project. It also concerns the ability to reliably release changes made to an application at any time. Without CI, we would have to manually coordinate the deployment, the integration of changes into an application, and security and regression checks.
Here’s a typical CI workflow:
A developer creates a new branch from the main branch, makes changes, commits, and then pushes it to the branch.
When the push is done, the code is ...