Issue: New articles build locally but don't appear on itblogpros.com
gh-pages (NOT main or master)/ (root)Expected Result: You should see a green checkmark with "Your site is live at https://itblogpros.com"
What to Look For:
✅ Green checkmark = Build succeeded, site should be deployed
❌ Red X = Build failed, site won't deploy
🟡 Yellow dot = Build in progress, wait a few minutes
If you see a red X:
ENOENT: no such file or directory → Missing fileUnexpected token → YAML syntax error in front matterCannot find module → Missing npm packageOpen your recent articles and verify:
---
title: "Your Title"
date: "2025-10-02T10:00:00.000Z" # ⚠️ Must be in the past!
tags:
- post # ⚠️ MUST include "post" tag!
- wifi
- router
---
Common Mistakes:
Before pushing to GitHub, always test locally:
# Clean build
rm -rf _site
# Build fresh
npx @11ty/eleventy --serve
# Check http://localhost:8080
# - Does article appear?
# - Any console errors?
# - Links working?
If it doesn't work locally, it won't work on GitHub!
Your articles might be deployed but your browser is showing cached content.
Methods to Clear Cache:
Hard Refresh:
Ctrl + Shift + RCmd + Shift + RCtrl + F5Incognito/Private Mode:
Different Device:
Clear Browser Cache Completely:
If nothing above works, verify your domain is configured correctly:
Go to your domain registrar (where you bought itblogpros.com)
Check DNS settings:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
www → [username].github.ioWait up to 24 hours for DNS changes to propagate
Sometimes GitHub Pages gets "stuck" and needs a manual kick:
gh-pages branchOR
main branchgh-pages branchCause: Article isn't in the _site directory after build
Fix:
npx @11ty/eleventy_site/ folderCause: Path is case-sensitive on Linux/GitHub but not on Windows
Fix:
_includes/layout.njk not _includes/Layout.njk/images/photo.jpg not /Images/photo.jpgCause: Invalid YAML syntax in front matter
Fix:
title: "WiFi 7 vs WiFi 6"Cause: Missing npm package
Fix:
package.json includes all dependenciesnpm ci which requires package-lock.jsonpackage.json AND package-lock.jsonBefore asking for help, verify:
npx @11ty/eleventy --serve)gh-pages branchCtrl + Shift + R)If you've tried everything above:
Check GitHub Actions Logs:
Check _site Directory:
# Build locally
npx @11ty/eleventy
# Check if article exists
dir _site\2025\10\02\ # Windows
ls _site/2025/10/02/ # Mac/Linux
Verify Article Metadata:
Check Live vs Local:
Always Build Locally First
npx @11ty/eleventy --serve
If it doesn't work locally, fix it before pushing to GitHub
Use Article Template
Copy ARTICLE-TEMPLATE.md for consistent formatting
Check Actions After Every Push
Add .gitignore (optional but recommended)
_site/
node_modules/
.DS_Store
Use Relative Dates Instead of hardcoding dates, use:
date +"%Y-%m-%dT%H:%M:%S.000Z"
90% of deployment issues are one of these:
GitHub Pages looking at wrong branch
gh-pagesBrowser cache
Missing "post" tag
- post to tags arrayFuture date
GitHub Actions failing
If you're still stuck:
Remember: If it works locally but not on GitHub, it's almost always:
Good luck! 🚀