Quick summary
GitHub Pages lets you publish a static website directly from any repository branch for free. By configuring the Pages settings in your repo, GitHub automatically generates a live public URL for your site within minutes.
Steps
- Navigate to your repository on GitHub.
- Click on the Settings tab inside your repository.
- Scroll down to the Pages section in the Settings menu.
- Under Source, select the branch you want to publish by clicking the dropdown arrow.
- Optionally, select a folder such as root or docs as your publishing source.
- Click the Save button to apply your GitHub Pages configuration.
- After enabling, copy the URL GitHub provides and click Visit site to view your live site.
.gif)



