GitHub Pages Tutorial
Getting a public webpage for your project is super easy and can be done at no cost.
Good to Know: This page is still a work in progress.
GitHub Pages
Setting up Pages for your GitHub repository is a fantastic way to get a website front-end (free for public repositories). In many cases if your app, mod or utility can run in static web pages this can save you a lot of time and money getting your own website hosting. You can further improve by connecting custom domains while letting GitHub Pages handle the web hosting.
From your GitHub repository:
Click Settings
Navigate to "Code and Automation" and click Pages
Leave the selection "Deploy from a branch"
Choose a Default Branch from the dropdown (e.g. main)
Select a subfolder (e.g. /root/ for everything or /docs/ if you just want doc pages published)
Click Save
Optionally setup a custom domain
Pro Tip: Get a great quick start with the very helpful information on GitHub Pages.
Getting a public webpage for your project is super easy and can be done at no cost.
Last updated