Publishing on GitHub Pages

screenshot of settings page for GitHub Pages. on the GitHub web site for a repository.
  1. On GitHub, navigate to your site’s repository.
  2. Under your repository name, click  Settings. If you cannot see the “Settings” tab, select the  dropdown menu, then click Settings.
  3. In the “Code and automation” section of the sidebar, click  Pages.
  4. Under “Build and deployment”, under “Source”, should be set to Deploy from a branch.
  5. Under “Build and deployment”, Click None dropdown menu under the Branch  and select the main.
  6. Click Save.
    1. It will take a few minutes for your site to publish. The text should now show main under branch and the save buttton will be greyed out.
  7. Refresh the page and when your site is ready the URL to it will be at the top of the page. It will read Your site is live at and then give the URL to your site. There is also a visit site button.

Leave a Reply