1. Go to your repository and click the “Settings” tab
  2. On the left navigation column, click the “Pages” link

Screenshot 2025-02-04 at 2.31.54 PM.png

  1. Under “Build and deployment” > “Branch”, chose the main branch

  2. To see if your page is deploying, click the “Actions” tab:

    Screenshot 2025-02-04 at 2.33.38 PM.png

  3. When the “pages build and deployment” is ✅, your page is ready to view at the link on the “Pages” tab (in the first screenshot, it’s “Your site is live at …”

Note: Your main index.html file should be in the top level folder of your project. Then Github Pages will recognize it and host that page on the generated link above.