Skip to content

GitHub Pages Not Updating After Pushing Changes #152753

Closed Answered by Logesh08
TeamNodSync asked this question in Pages
Discussion options

You must be logged in to vote

If your GitHub Pages site is not updating after pushing changes, follow these steps to fix it:

✅ 1. Force Refresh Your Browser

Sometimes, your browser caches the old version of the site. Try:
🔹 Windows/Linux: Press Ctrl + Shift + R
🔹 Mac: Press Cmd + Shift + R


✅ 2. Check GitHub Pages Build Status

  1. Go to your GitHub Repo → Click Actions tab.
  2. Look for the latest GitHub Pages deployment workflow.
  3. If it failed, check the logs for errors.
  4. If there is no recent deployment, trigger a rebuild (see Step 4).

✅ 3. Ensure You're Pushing to the Correct Branch

By default, GitHub Pages serves from:

  • main or master (if configured this way)
  • gh-pages (for some projects)
  • /docs folder (if set in settings)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TeamNodSync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
2 participants