This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /GitHub

How to Deploy Github Pages

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to publish a website using GitHub Pages in minutes.

Quick summary

GitHub Pages lets you deploy a static website directly from a GitHub repository branch at no cost. By configuring the Pages settings in your repo, your site goes live within minutes at a public URL.


Steps

  1. Go to your repository on GitHub and navigate to Settings.
  2. Under Code and automation, select Pages.
  3. Under Source, select Deploy from a branch.
  4. Click the branch drop-down and choose the branch you want to deploy from.
  5. Click the Docs drop-down to select the folder containing your site files.
  6. Select a folder in the main branch to serve as the publishing source.
  7. Click Save to apply your changes.
  8. Wait for the confirmation notification confirming the deployment change.
  9. Once published, click Visit site to access your live GitHub Pages website.

📌 Why this matters

GitHub Pages is a free, built-in hosting solution that lets developers and teams publish static websites directly from a GitHub repository branch with zero infrastructure setup. Knowing how to configure GitHub Pages correctly — choosing the right branch, folder, and source — is essential for anyone deploying documentation sites, portfolio pages, or open-source project websites. This demo eliminates guesswork by walking you through every click in the GitHub Settings UI, from enabling Pages to visiting your live site. Whether you are a first-time deployer or need a quick refresher, this step-by-step guide ensures your site goes live correctly the first time.
Your product deserves an interactive demo
Start free
Similar Articles
GitHub

How to Import a Project from GitHub to Replit

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Push Code from Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Connect Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it