Deploy HTML Webpage to GitHub




In this post, we will see how to deploy your HTML project to GitHub pages.

  1. Go to GitHub and push your code into a repo
  2. Rename the HTML file to index.html

  1. Go to settings and find GitHub Pages

  1. Click on a select branch and change it to main or master and click save

  1. Click on Choose theme and change it to whatever you like and simply click on Select theme

  1. Now you'll see something like below

Your HTML file is successfully deployed, now go to the URL thats given.

Share the URL with the public.