Skip to content
Discussion options

You must be logged in to vote

It sounds like your GitHub Pages site is showing only your username and not your actual website content — that usually means something’s off with how the site is set up.

Here are a few things you can check:

Repository Name:
If you're trying to create a personal GitHub Pages site, make sure your repo is named exactly like this:
your-username.github.io
(replacing your-username with your actual GitHub username — spelling matters!)

index.html:
Do you have an index.html file in the root of the repo? That’s the main file GitHub Pages looks for when loading your site.

Pages Settings:
Go to your repository → Settings → Pages
Then make sure it's publishing from the correct branch (usually main) an…

Replies: 1 comment

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Workflow Deployment Topics about deploying workflows, publishing artifacts, and deployment targets in GitHub Actions. Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants