Repository navigation
Fix GitHub Pages 404 by publishing domain/routing metadata from static/ - #2
Merged
Merged
Conversation
Co-authored-by: VloStudios <198949883+VloStudios@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
VloStudios
September 15, 2026 07:57
View session
VloStudios
marked this pull request as ready for review
September 15, 2026 07:58
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed changes are complete with no unresolved blocking issues.
Pull request overview
Aligns GitHub Pages metadata with the static/ publish directory to fix custom-domain routing and static-path 404s.
Changes:
- Adds
static/CNAMEforvlostudios.dev. - Adds
static/.nojekyllto disable Jekyll processing.
File summaries
| File | Description |
|---|---|
static/CNAME |
Configures the custom domain. |
static/.nojekyll |
Preserves static-path serving behavior. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The site was intermittently serving 404s on the custom domain because Pages-only deployment metadata was not included in the published artifact. This change aligns domain/routing metadata with the actual GitHub Pages publish root.
Deployment artifact alignment
static/CNAMEwithvlostudios.devso custom-domain mapping is part of the deployed site.static/.nojekyllto ensure Pages serves static paths without Jekyll processing side effects.Resulting behavior
publish_dir(static/), preventing missing-file deploys that can surface as 404s.