Skip to content

Move gent.cvr.im to Cloudflare Workers - #2

Merged
cevr merged 4 commits into
mainfrom
feat/site-on-main
Oct 15, 2026
Merged

cevr merged 4 commits into
mainfrom
feat/site-on-main

Conversation

@cevr

@cevr cevr commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Serves gent.cvr.im from a Cloudflare Worker declared with Alchemy. deploy-site.yml deploys prod on main and a preview per PR that touches apps/site. Only the site commits, on top of origin/main.

cevr added 4 commits October 15, 2026 14:43
A test:deploy script deploys a throwaway stage to real infrastructure, so it
needs the network and the real home's cloud credentials, which the preload
takes away. The test lane defaults guard leaves it alone.
Replace the Railway project, service, custom domain and the two cvr.im DNS
records with one Cloudflare.Worker declared with Alchemy (2.0.0-beta.83).

- The Worker's fetch is the existing HttpRouter routes (toHttpEffect); the
  routes stay Alchemy-free and reach GitHub through FetchHttpClient.
- The repo install.sh is inlined into the bundle as text through the
  apps/site/install.sh link, checked at plan time; no runtime file read.
- prod: Worker gent-site, custom domain gent.cvr.im, workers.dev off. Other
  stages: a throwaway workers.dev URL.
- State moves to Cloudflare.state(). @distilled.cloud/railway is gone.
- tests/deploy.integration.ts (bun run test:deploy) deploys, probes /,
  /healthz and /install.sh, and destroys.
@cevr
cevr deployed to preview October 15, 2026 18:48 — with GitHub Actions Active
@cevr
cevr merged commit 7b9bae4 into main Oct 15, 2026
2 of 3 checks passed
@cevr
cevr deployed to preview October 15, 2026 18:58 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
preview — 6dcb18fe Deployed Oct 15, 2026 by cevr via cleanup #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant