From 482bbab0ae3b7d3266b337f196aa1f7dbf2929ae Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Fri, 17 Jul 2026 10:13:18 -0500 Subject: [PATCH] docs(site): move to green-tea.expressive-tea.io, docs at /docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The site hangs off the expressive-tea.io cPanel now, not the placeholder .dev domain. Docs live at /docs on the same subdomain (a separate build, not a nested sub-subdomain), so every cross-link to the docs points there. robots.txt sitemap and the README deploy steps follow — cPanel upload, two folders, one cert. Signed-off-by: Diego Resendez --- README.md | 24 +++++++++++++----------- astro.config.mjs | 2 +- public/robots.txt | 2 +- src/components/Footer.astro | 2 +- src/components/Header.astro | 2 +- src/components/sections/Hero.astro | 2 +- src/components/sections/HonestBeta.astro | 2 +- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 064b45e..71c4b02 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Green Tea. — marketing site -The public marketing site for [Green Tea](https://green-tea.dev), a zen, opinionated, type-safe graph-pipeline HTTP +The public marketing site for [Green Tea](https://green-tea.expressive-tea.io), a zen, opinionated, type-safe graph-pipeline HTTP framework. Built with [Astro](https://astro.build) — the landing page, blog, and brand shell live here. The framework's technical docs live in a separate repository and are only linked from this site, not rebuilt here. @@ -50,17 +50,19 @@ public/ — static assets (favicon, og.png, robots.txt) ## Deployment (manual — Cloudflare Pages) -There is no deploy CI configured for this repo. Deploys are triggered manually from the Cloudflare Pages -dashboard: +The site is hosted on the **expressive-tea.io cPanel** under the subdomain `green-tea.expressive-tea.io`. +There is no deploy CI — you build locally and upload the static output. -1. Create a new Pages project and connect this repository. -2. **Framework preset:** Astro -3. **Build command:** `npm run build` -4. **Build output directory:** `dist` -5. Deploy, then attach the custom domain `green-tea.dev` under the project's Custom Domains settings. +1. `npm run build` → static output in `dist/`. +2. Upload the **contents** of `dist/` into the subdomain's document root + (e.g. `public_html/green-tea/`) via the cPanel File Manager or SFTP. +3. The docs are a **separate build** served from `/docs` on the same subdomain — see the + [core repo](https://github.com/Expressive-Tea/green-tea)'s `website/` (built with `base: '/docs'`); + its `dist/` contents go into `public_html/green-tea/docs/`. Two independent builds, one subdomain, + no nested sub-subdomain. -Re-run the same "Create deployment" flow from the dashboard for subsequent releases — pushes do not trigger an -automatic build. +The `*.expressive-tea.io` AutoSSL certificate already covers `green-tea.expressive-tea.io`; `/docs` needs +no certificate of its own because it is a path, not a host. ## Links that don't resolve yet @@ -70,7 +72,7 @@ those targets are not public yet. Before launch, confirm each one actually resol - The GitHub repo is public under that org. - `@green-tea/core` is published to npm under that name. -- `https://docs.green-tea.dev` is live and serving the docs site. +- `https://green-tea.expressive-tea.io/docs` is live and serving the docs site. Every one of these is a visible 404 on the landing page until it's true. diff --git a/astro.config.mjs b/astro.config.mjs index 342c1b1..e9ecc66 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,6 +6,6 @@ import sitemap from '@astrojs/sitemap'; // https://astro.build/config export default defineConfig({ - site: 'https://green-tea.dev', + site: 'https://green-tea.expressive-tea.io', integrations: [mdx(), sitemap()] }); \ No newline at end of file diff --git a/public/robots.txt b/public/robots.txt index 572293b..cd52080 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,4 @@ User-agent: * Allow: / -Sitemap: https://green-tea.dev/sitemap-index.xml +Sitemap: https://green-tea.expressive-tea.io/sitemap-index.xml diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 3943cc5..4e0a2ec 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,7 +3,7 @@ const linkColumns = [ { heading: 'Learn', links: [ - { label: 'Docs', href: 'https://docs.green-tea.dev', external: true }, + { label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true }, { label: 'Blog', href: '/blog', external: false }, ], }, diff --git a/src/components/Header.astro b/src/components/Header.astro index 5c98c25..85a9524 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -2,7 +2,7 @@ import logoUrl from '../assets/logo.svg?url'; const navLinks = [ - { label: 'Docs', href: 'https://docs.green-tea.dev', external: true }, + { label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true }, { label: 'Blog', href: '/blog', external: false }, { label: 'GitHub', href: 'https://github.com/Expressive-Tea/green-tea', external: true }, { label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true }, diff --git a/src/components/sections/Hero.astro b/src/components/sections/Hero.astro index acf63c9..3485c5c 100644 --- a/src/components/sections/Hero.astro +++ b/src/components/sections/Hero.astro @@ -19,7 +19,7 @@ import GraphMotif from '../GraphMotif.astro';