fix: restore up2cloud.tech custom domain (add missing CNAME file)#6
Merged
Merged
Conversation
The custom domain up2cloud.tech was being dropped on every deployment because GitHub Pages requires a CNAME file in the deployed artifact root to preserve the custom domain setting. Also adds _redirects to the copied files so Cloudflare-style redirect rules are preserved, and updates the deployment environment URL to reflect the real domain.
Deploying up2cloud-tech with
|
| Latest commit: |
106a494
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3dde0207.up2cloud-tech.pages.dev |
| Branch Preview URL: | https://claude-up2cloud-tech-domain.up2cloud-tech.pages.dev |
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.
Summary
up2cloud.techwas going down on every deployment because there was noCNAMEfile in the repo, and the build step never included one in the uploaded artifact. GitHub Pages silently drops the custom domain when the deployed artifact lacks aCNAMEfile at its root.CNAMEfile containingup2cloud.techand copy it intopublic/during the build step._redirectstopublic/(it was listed in the repo but never included in the build artifact).https://up2cloud.github.iotohttps://up2cloud.tech.Test plan
production-approvalenvironmentpublic/CNAMEfile is present in the GitHub Pages artifact after the build job runshttps://up2cloud.techresolves and serves the site after deploymenthttps://www.up2cloud.techredirects tohttps://up2cloud.techhttps://claude.ai/code/session_01AdacpfB74AC4xNZQeej9fw
Generated by Claude Code