fix(deploy): point the staging deployment URL at the host that actually serves it - #1145
Merged
Conversation
…ly serves it deploy.yml's environment.url was https://dev.codeframeapp.com. That name has DNS to the staging box but no nginx site block and no certificate, so the shared VPS answers with another project's cert (dev.autoauthor.app) and TLS fails outright. Anyone following the GitHub deployment link got a certificate error and would reasonably conclude staging was down — while it was serving fine at https://dev.codeframe.sh. Verified on the box rather than inferred: pm2 shows codeframe-staging-backend and -frontend online, nginx (not Caddy) is the active proxy, and /etc/nginx/sites-available/ has dev.codeframe.sh.conf with no equivalent for dev.codeframeapp.com. Also: - deploy/README.md now states where staging is. The working URL appeared nowhere in the repository — only the wrong one did. - legacydocs/nginx-setup-complete.md gets a SUPERSEDED banner. It documents the dead domain AND a dead IP (47.88.89.175, replaced by 195.35.14.177 in the 2026-07-01 rebuild), so following it wastes real time. Full suite: 6443 passed, 49 skipped.
4 tasks
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.
Found while verifying the staging deploy after v0.9.2.
The problem
deploy.yml'senvironment.urlpointed athttps://dev.codeframeapp.com. Thatname resolves to the staging box but has no nginx site block and no
certificate, so the shared VPS answers with another project's cert
(
dev.autoauthor.app) and TLS fails:So the GitHub deployment link looked like staging was down, while it was serving
fine at https://dev.codeframe.sh.
Verified on the box, not inferred
And the live endpoint reports the commit that was just merged:
{"status":"healthy","commit":"d78281c","deployed_at":"2026-08-11T01:46:43Z"}/api/v2/settings/keysreturns 401, so auth enforcement is working too.Changes
deploy.yml—url: https://dev.codeframe.sh, with the reason recorded sothe next person does not re-derive it
deploy/README.md— states where staging is and how it is served. Theworking URL appeared nowhere in the repository; only the wrong one did
legacydocs/nginx-setup-complete.md—SUPERSEDEDbanner. It documentsthe dead domain and a dead IP (
47.88.89.175, replaced by195.35.14.177inthe 2026-07-01 rebuild), so following it wastes real time
Docs and one workflow field only — no application code.
actionlintclean, fullsuite 6443 passed, 49 skipped.