

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Docker
incomplete
2: Continuous Deployment
incomplete
3: Google Cloud Platform
incomplete
4: Google Cloud SDK
incomplete
5: Google Artifact Registry
incomplete
6: Automate Builds
incomplete
This lesson's interactive features are locked, please to keep using them
Continuous Deployment (CD) is the process of automatically deploying code changes to a production environment after the code has been built and tested. Let's set up CD for Notely!
We'll be using GitHub Actions again, but we'll create a new workflow for CD: cd.yml
Click to play video
on:
push:
branches: [main]
To be clear, the ci workflow runs when a pull request is opened, but the cd workflow runs when a pull request is merged (or when code is pushed directly to the main branch).
Run the cd workflow and ensure it works by merging your PR into main (or pushing directly to main).
Paste the URL of your GitHub repo into the box and run the GitHub checks.