From e1414881645fcea28a5ba61dddbd63680f8ea273 Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Sat, 28 Mar 2026 08:48:09 -0600 Subject: [PATCH] Add deploy-site and deploy-explore make targets, fix CLAUDE.md hosting docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CLAUDE.md still said GitHub Pages auto-deploys — corrected to document the Cloudflare Workers deployment (site/ and explore/ directories). Root Makefile now has deploy-site and deploy-explore targets that delegate to the respective wrangler.toml configs. Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 10 +++++++++- Makefile | 8 +++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 4d85c90..15b71f9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -55,7 +55,15 @@ Individual targets if needed: ## Hosting -The `docs/` directory is published to [v-it.org](https://v-it.org) via GitHub Pages. Pushing to main auto-deploys. +This repo contains three deployable things: + +| what | directory | domain | deploy | +|------|-----------|--------|--------| +| CLI | `bin/`, `src/` | npm `vit` | `make ship` | +| site | `docs/` (served by `site/`) | v-it.org | `make deploy-site` | +| explore | `explore/` | explore.v-it.org | `make deploy-explore` | + +**The site does NOT auto-deploy.** After changing anything in `docs/` (pages, decks, assets), you must run `make deploy-site` to publish. Both site and explore are Cloudflare Workers — deployment requires a `wrangler login` OAuth session. ## File Headers diff --git a/Makefile b/Makefile index fc1b1ec..4da4020 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BUMP ?= patch -.PHONY: install link test test-node clean release publish ship +.PHONY: install link test test-node clean release publish ship deploy-site deploy-explore install: bun install @@ -31,3 +31,9 @@ publish: npm publish ship: release publish + +deploy-site: + cd site && wrangler deploy + +deploy-explore: + cd explore && wrangler deploy -- 2.51.2