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
- Go to your repository on GitHub and navigate to Settings.
- Under Code and automation, select Pages.
- Under Source, select Deploy from a branch.
- Click the branch drop-down and choose the branch you want to deploy from.
- Click the Docs drop-down to select the folder containing your site files.
- Select a folder in the main branch to serve as the publishing source.
- Click Save to apply your changes.
- Wait for the confirmation notification confirming the deployment change.
- Once published, click Visit site to access your live GitHub Pages website.
.gif)



