How to Deploy Github Pages
- George Apostolov
How to Deploy Github Pages: step-by-step guide
Go to your repository on GitHub and navigate to 'Settings'.
Under 'Code and automation', select 'Pages'.
Under 'Source', select 'Deploy from a branch'.
Select a branch by clicking the drop-down arrow and choose from the options below.
Click on the 'Docs' by clicking the drop-down arrow.
Select a folder in the main branch.
Click 'Save' to apply changes.
A notification pops up confirming the change.
Once published, GitHub Pages will display a link to your website. It usually takes a few minutes for your site to become live. Click 'Visit site'.
Quick answer: To deploy GitHub Pages in GitHub, navigate to repository Settings, select Pages under Code and automation, choose Deploy from a branch, select a branch and folder, click Save, and finally click Visit site after it publishes.
About this GitHub tutorial
Publish your website live by configuring source branch and folder settings within GitHub Pages. This guide shows how to deploy Github Pages in 9 steps, starting with "Go to your repository on GitHub and navigate to 'Settings'" and finishing with "Once published, GitHub Pages will display a link to your website. It usually takes a fe...". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to deploy Github Pages?
9 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Download Artifacts from GitHub, How to Download Files From Github and How to Download Folder From Github. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





