# How to Deploy Github Pages

> 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.

Canonical: https://livedemo.ai/tutorials/how-to-deploy-github-pages/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3b92ab56e05a00fe2f54/preview?step=1

## 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. Select a branch by clicking the drop-down arrow and choose from the options below.
5. Click on the 'Docs' by clicking the drop-down arrow.
6. Select a folder in the main branch.
7. Click 'Save' to apply changes.
8. A notification pops up confirming the change.
9. 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'.
