Follow these steps using GitHub's website:
- Make sure you've downloaded index.html above
- Go to your repository on GitHub
- Click the branch dropdown (says "main") → type gh-pages → click "Create branch: gh-pages"
- Click Add file → Upload files
- Drag your downloaded
index.html file into the upload area
- Scroll down and click Commit changes
- Click Add file → Create new file
- Name it
.nojekyll (don't add any content)
- Click Commit changes
The .nojekyll file tells GitHub to skip Jekyll processing and serve your HTML as-is.
Copy and run these commands in your terminal:
Enter username and repo name above to generate commands
Make sure you've downloaded index.html and placed it in the cloned repository folder before running git add.