🚀 Deploy to GitHub Pages!
What You'll Learn
- Create a GitHub repository for your portfolio
- Push your code using Git
- Deploy a live public website for free on GitHub Pages
You Are About to Go Live!
GitHub Pages is a free hosting service from GitHub. It lets you publish any static website (HTML/CSS/JS) directly from a GitHub repository. No server needed. No credit card. Free forever. Let us get your portfolio live!
Step 1 — Create a GitHub Account
Go to github.com and sign up for a free account. Your username will be part of your site URL (e.g., yourname.github.io), so choose wisely!
Step 2 — Create a Repository
- Click the + icon → New repository
- Name it: yourname.github.io (replace yourname with your actual GitHub username)
- Make it Public
- Click Create repository
Step 3 — Push Your Code
# In your project folder (terminal/command prompt): git init git add . git commit -m 'Initial portfolio commit' git branch -M main git remote add origin https://github.com/YOURUSERNAME/YOURUSERNAME.github.io.git git push -u origin main
Step 4 — Enable GitHub Pages
- Go to your repo on GitHub
- Click Settings → Pages
- Under Source, select main branch
- Click Save
- Wait 1–2 minutes, then visit https://YOURUSERNAME.github.io
Share your URL with everyone! This is a real, public website on the internet that anyone can visit. Add it to your college applications, job resume, and social profiles.
Deploy your portfolio and share the URL with your teacher, family, and friends. You have completed 18 lessons, built a full-stack portfolio, and published it live on the internet.
You are a web developer now. Keep building. Keep learning. Oklahoma's tech future needs you. 💚
What is GitHub Pages?
What does git push do?
What will your live site URL be on GitHub Pages?