Skip to main content

My first project — GitHub Pages + Branch Protection

Project Overview

This project showcases my Cloud Architecture and DevOps Automation skills by building a professional DevOps portfolio site with secure hosting on GitHub Pages, automated deployment via GitHub Actions, and strict branch protection on main.


The Challenge

I wanted a public portfolio to display my DevOps projects, but it needed to be:

  • Secure — no accidental pushes to production
  • Automated — minimal manual deployment effort
  • Free to host — without compromising professionalism

The Solution

Tech Stack & Tools:

  • GitHub Repository for source code & hosting
  • GitHub Pages for free, static site hosting
  • GitHub Actions for CI/CD automation
  • Branch Protection Rules to secure main

Steps Taken:

  1. Created a private GitHub repo and initialized main
  2. Added branch protection rules:
    • Require PR with 1+ review
    • Require status checks before merging
    • Require signed commits
    • Include admins
  3. Built a Docusaurus-based site for portfolio content
  4. Automated build & deploy using GitHub Actions
  5. Enabled GitHub Pages for public access

The Results

  • Zero manual deployment steps — all automated via CI/CD
  • 100% protection against direct pushes to production
  • Free hosting using GitHub Pages
  • Professional public portfolio ready for interviews & clients