Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.25 KB

Git-CI-CD

week 2 of DevOps Trainee Program

Introduction

This is a simple web application that will be deployed to a server.

Steps

  1. Create a new repository on Github.
  2. Clone the repository.
  3. Create a new branch on Github. In this case the branches will be called "develop" and "main".
  4. Create a new child branch on Github. In this this case the child branches will be called "release".
  5. Jekyll will be used to create the website.
  6. The website will be deployed to the server using Github Actions.
  7. We will add a theme to the website. The theme used is called Minima
  8. Test the theme in the localhost.
  9. Push the changes to Github.
  10. Deploy the website to the server using Github pages.
  11. Test the website using the URL Github pages.
  12. Set up a new workflow on Github to create automatic PRs. The PR will look like this:

Workflows

There are three workflows setup in this repository.

  1. Branches. This one deletes a released branch once a PR is accepted from the develop branch.
  2. Pages. Deploys the webpage to Github Pages using Jekyll.
  3. Creates an automatic PR to main once a change is pushed in the develop branch.