From 96b958108992d7d82f3df49c94922a693df2f025 Mon Sep 17 00:00:00 2001 From: "claude@clouddev1" Date: Mon, 15 Jun 2026 20:59:49 +0000 Subject: [PATCH] =?UTF-8?q?docs(website-adr):=20record=20website=20CI=20as?= =?UTF-8?q?=20implemented=20(ADR-website-001=20=C2=A74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Gitea Actions → Cloudflare Pages pipeline shipped; update §4 from "No CI yet" to the implemented workflow, the `relplay` project, the branch→environment mapping, and the required secrets. --- docs/website/adr/20260604-adr-website-001.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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