Skip to content
Discussion options

You must be logged in to vote

Hi @thanakornbua 👋

Repo size (100KB) is not the issue — GitHub Pages deployments usually fail because of config/branch settings or a build error in the Pages workflow.

Here are the most common things to check/fix:


✅ 1) Check GitHub Pages settings

Go to:
Repo → Settings → Pages

Make sure:

  • Source is set correctly:
    • If you're using Actions: it should show GitHub Actions
    • If you're using branch deployment: set Deploy from a branch
      • Branch: main
      • Folder: / (root) or /docs

✅ 2) Confirm your site files exist in the correct place

For normal Pages (no framework):
You must have at least one of these in the deployed folder:

  • index.html ✅ (required)

If index.html is missing, Pages will fail or…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by thanakornbua
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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 General General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage Workflow Deployment Topics about deploying workflows, publishing artifacts, and deployment targets in GitHub Actions.
4 participants