docs(site): move to green-tea.expressive-tea.io, docs at /docs
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 <diego.resendez@zero-oneit.com>
This commit is contained in:
7 files changed
+19
-17
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
# Green Tea. — marketing site
|
# 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. 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.
|
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)
|
## Deployment (manual — Cloudflare Pages)
|
||||||
|
|
||||||
There is no deploy CI configured for this repo. Deploys are triggered manually from the Cloudflare Pages
|
The site is hosted on the **expressive-tea.io cPanel** under the subdomain `green-tea.expressive-tea.io`.
|
||||||
dashboard:
|
There is no deploy CI — you build locally and upload the static output.
|
||||||
|
|
||||||
1. Create a new Pages project and connect this repository.
|
1. `npm run build` → static output in `dist/`.
|
||||||
2. **Framework preset:** Astro
|
2. Upload the **contents** of `dist/` into the subdomain's document root
|
||||||
3. **Build command:** `npm run build`
|
(e.g. `public_html/green-tea/`) via the cPanel File Manager or SFTP.
|
||||||
4. **Build output directory:** `dist`
|
3. The docs are a **separate build** served from `/docs` on the same subdomain — see the
|
||||||
5. Deploy, then attach the custom domain `green-tea.dev` under the project's Custom Domains settings.
|
[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
|
The `*.expressive-tea.io` AutoSSL certificate already covers `green-tea.expressive-tea.io`; `/docs` needs
|
||||||
automatic build.
|
no certificate of its own because it is a path, not a host.
|
||||||
|
|
||||||
## Links that don't resolve yet
|
## 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.
|
- The GitHub repo is public under that org.
|
||||||
- `@green-tea/core` is published to npm under that name.
|
- `@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.
|
Every one of these is a visible 404 on the landing page until it's true.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,6 +6,6 @@ import sitemap from '@astrojs/sitemap';
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://green-tea.dev',
|
site: 'https://green-tea.expressive-tea.io',
|
||||||
integrations: [mdx(), sitemap()]
|
integrations: [mdx(), sitemap()]
|
||||||
});
|
});
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
Allow: /
|
Allow: /
|
||||||
|
|
||||||
Sitemap: https://green-tea.dev/sitemap-index.xml
|
Sitemap: https://green-tea.expressive-tea.io/sitemap-index.xml
|
||||||
@@ -3,7 +3,7 @@ const linkColumns = [
|
|||||||
{
|
{
|
||||||
heading: 'Learn',
|
heading: 'Learn',
|
||||||
links: [
|
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 },
|
{ label: 'Blog', href: '/blog', external: false },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import logoUrl from '../assets/logo.svg?url';
|
import logoUrl from '../assets/logo.svg?url';
|
||||||
|
|
||||||
const navLinks = [
|
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: 'Blog', href: '/blog', external: false },
|
||||||
{ label: 'GitHub', href: 'https://github.com/Expressive-Tea/green-tea', external: true },
|
{ 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 },
|
{ label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true },
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import GraphMotif from '../GraphMotif.astro';
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="btn-row hero__ctas">
|
<div class="btn-row hero__ctas">
|
||||||
<a class="btn btn--primary" href="https://docs.green-tea.dev" target="_blank" rel="noopener noreferrer">
|
<a class="btn btn--primary" href="https://green-tea.expressive-tea.io/docs" target="_blank" rel="noopener noreferrer">
|
||||||
Get started
|
Get started
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn--ghost" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer">
|
<a class="btn btn--ghost" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer">
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="btn-row honest__ctas">
|
<div class="btn-row honest__ctas">
|
||||||
<a class="btn btn--primary" href="https://docs.green-tea.dev" target="_blank" rel="noopener noreferrer">
|
<a class="btn btn--primary" href="https://green-tea.expressive-tea.io/docs" target="_blank" rel="noopener noreferrer">
|
||||||
Read the docs
|
Read the docs
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn--ghost" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer">
|
<a class="btn btn--ghost" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer">
|
||||||
|
|||||||
Reference in new issue
Block a user