Deploy your Website to GitHub Pages
In this lesson, you’ll learn how to publish your website to GitHub Pages.
If you have a GitHub Free account, you can only publish to GitHub Pages if your repo is public. To use GitHub pages with a private repo, you’ll need to be on the GitHub Pro plan or above. For more information, see “GitHub’s plans.”
GitHub Pages setup
As a first step, go to Settings > Pages:

Then, configure your site to be built from the master
branch:

Once you save, you’ll get this warning:

This is expected. If you wait a minute and refresh the page, you’ll see that your site is live.

As you can see, the site is published to a URL that looks like this:
https://your-username.github.io/your-repo/
This means that you can already share the URL in public. 🚀
If you want to make more changes to your site, simply commit and push them to GitHub, and the site will be redeployed automatically.
Serve your site from a Custom Domain
GitHub Pages allows you to serve your site from a custom domain:

If you want to do this, you’ll need to purchase a domain name from a registrar such as Namecheap.
Then, you can follow the instructions on this page to set everything up:
However, this is not necessary and not a requirement when publishing your app to the stores.