Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous deployment #5

Closed
github-learning-lab bot opened this issue Sep 30, 2020 · 1 comment
Closed

Continuous deployment #5

github-learning-lab bot opened this issue Sep 30, 2020 · 1 comment
Assignees

Comments

@github-learning-lab
Copy link
Contributor

Our workflow is looking pretty good! We have now set up some automated tests for any new changes. We can go one step further and add continuous deployment to our workflow.

What is Continuous Deployment?

Continuous Deployment, or CD, is an extended step that builds from the automation in CI. CD is automation at various stages, deploying new changes to the different environment.

The goal of CD is to reduce the time it takes to finish a project. Automation provides shorter feedback loops. This could look like faster testing cycles, or faster deployment and user feedback.

There are several ways to deploy your code changes. For this repository, we'll deploy with GitHub Pages. If you'd like to learn more about GitHub Pages, there are a few learning lab courses you might be interested in.

When deploying with GitHub Pages, you can choose to deploy from several locations. We're going to deploy from the /docs directory of this repository. This will deploy only the contents of the /docs directory.

Step 12: Deploy

Whenever there is a new commit on master, GitHub pages will deploy.

⌨️ Activity: Enable GitHub pages to deploy

  1. Navigate to the Settings tab.
  2. Under GitHub pages, set the source to master branch and click Save.

I'll respond below for your next steps.

@github-learning-lab
Copy link
Contributor Author

Nice job enabling GitHub pages and setting up your continuous deployment.

You can see your deployment published here: https://FaisalAfroz.github.io/continuous-integration-circle.


I'll respond in your next issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant