fix(site): own the getghostcrab.com deploy in CI + bind the custom domain - #77
Merged
Conversation
…main Two fixes for the dead site (HTTP 530 since launch): 1. wrangler.jsonc gains a routes entry with custom_domain — without it the worker only ever served workers.dev; the zone record for getghostcrab.com pointed at nothing, hence 530 even if deploys worked. 2. New site-deploy workflow builds site/ and runs wrangler deploy from CI. Cloudflare's Git-integrated Workers Builds NEVER produced a green deploy (every run since 2026-07 failed, PR #68's fix commit included; logs are dashboard-only). Deploying from Actions makes a dead deploy a visible red check in-repo — the lesson this site has now taught twice. Needs repo secret CLOUDFLARE_API_TOKEN (Edit Workers template) before the deploy step can run; PR runs build-only.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ghostcrab | a5de859 | Commit Preview URL Branch Preview URL |
Aug 05 2026, 02:46 PM |
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.
Fixes the dead site: getghostcrab.com has served HTTP 530 since launch. Diagnosis (2026-08-05 investigation):
afd55e2). The site and root build shim build clean locally at the failing SHA, so the residual failure is in Cloudflare's build environment (logs are dashboard-only).wrangler.jsonchad noroutes, so even a green deploy only served workers.dev; the zone record for getghostcrab.com pointed at nothing (hence 530, not 404).This PR:
routes: [{ pattern: "getghostcrab.com", custom_domain: true }]— wrangler provisions the DNS record on deploy;site-deploy.yml: buildssite/on PRs (visible red check — the lesson from the two "stray Cloudflare check" incidents) and deploys viawrangler@4on main push / dispatch.Two one-time actions needed from you:
CLOUDFLARE_API_TOKEN("Edit Cloudflare Workers" token template) — until then the deploy step fails with auth error. Account ID is baked in (not a secret).getghostcrab.comrecord in the zone first.Play listing is unaffected (uses the steveackley.org placeholder); once this is live the hardcoded
getghostcrab.com/privacylink in the iOS Settings screen resolves too.🤖 Generated with Claude Code
https://claude.ai/code/session_0174S8DPK4RKqRvd34iBVHHi