diff --git a/docs/website/adr/20260604-adr-website-001.md b/docs/website/adr/20260604-adr-website-001.md index a03011b..691bb97 100644 --- a/docs/website/adr/20260604-adr-website-001.md +++ b/docs/website/adr/20260604-adr-website-001.md @@ -82,9 +82,16 @@ planning + `/runda` pass with the user and are recorded below. assets)** over Pages; either serves the static `dist/` and needs no Astro adapter (the `@astrojs/cloudflare` adapter is only for SSR, which the site does not use). The future in-page WASM playground (§3), if it needs - COOP/COEP headers, can get them from Cloudflare `_headers`. **No CI yet** — - the site is tested locally (`pnpm dev` / `pnpm build`) until the repo reaches - its public home, when the Gitea Actions workflow lands. + COOP/COEP headers, can get them from Cloudflare `_headers`. **CI implemented + 2026-06-15** (`.gitea/workflows/website.yaml`): a push touching `website/**` + builds the static site with pnpm and deploys `dist/` to the Cloudflare Pages + project **`relplay`** via `wrangler` (Direct Upload — no Git integration). + The `--branch` label selects environment against the project's production + branch (`main`): **`main` → production (`relplay.org`)**, **`website` → + preview (`website.relplay.pages.dev`)**, with `staging.relplay.org` attachable + to the `website` branch alias. The crate's CI gate (`ci.yaml`) skips + website-only pushes; the build is pure-Node (the `.cast` files are committed, + so no cargo). Secrets: `CLOUDFLARE_API_TOKEN` + `CLOUDFLARE_ACCOUNT_ID`. 5. **Repo topology — monorepo.** The site lives under `website/` in the playground repo; the crate stays at the repo root. The repo as a whole