We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Continuous Deployment

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

Assignment

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.