Vercel + Git SOP
| Scenario | Git | Vercel / deploy |
|---|---|---|
| New client tool or standalone app | New repo | New Vercel project |
| Adding to an existing client's tools | Existing repo (add a route or page) | Existing Vercel project — no new project needed |
| New internal HH tool | Add to hh-internal repo |
Auto-deploys via hh-internal project |
| New MM SOP or guide for Guy | Add to mm-lp-guide repo |
Auto-deploys via mm-lp-guide project |
| Bug fix or content change | Branch → PR → merge to main | Auto-deploys on merge |
| NHH / Hilda scheduler changes | Branch → PR → merge to main | Not Vercel — deploys to Fly.io. Ask Teddi. |
Vercel projects and GitHub repos are 1:1. If you're adding something to an existing repo, it deploys to the existing Vercel project automatically. You only create a new Vercel project when you create a new repo.
Ask: "Could this logically live as a page or route inside something that already exists?" If yes → add it to the existing repo. If no → new repo + new Vercel project.
We have two separate personal GitHub accounts (teddi-coder for Teddi, bergjosh for Josh) but one shared Vercel team account (Hedgehog Marketing). This is normal and not a problem.
- Infrastructure, internal tooling, client tools, autopilots →
teddi-coder - MM account management content (SOPs, guides, reference pages) → ask Teddi if unsure
Vercel's GitHub app is authorised on both accounts separately. When you link a new Vercel project to a repo, Vercel just needs access to that specific repo — it doesn't matter which GitHub account owns it.
The one friction point: if a repo lives under Teddi's GitHub, you can't push directly to it — submit a PR instead. That's correct behaviour, not a bug.
Check these before creating anything new. Most things already have a home.
hh-internal — this site
The catch-all for new HH internal tooling that doesn't need its own standalone URL. Add a new .html file and a card on index.html. Ask Teddi for repo access if you don't have it.
mm-lp-guide → mm-lp-guide.vercel.app
Full internal wiki for Guy and MM account management. Already contains ~20 pages covering LPs, tracking tools, autopilot guides, SOPs, client snapshots, and monthly audit reports. New MM SOPs, guides, or reference pages go here — add a .html file and link it from index.html.
Note: mm-hq is a separate Vite/React app and the wrong home for new SOPs or guides. Don't confuse the two.
hedgehog-client-portal → theburrow.hedgehogmarketing.com.au
Do not add things to this repo without checking with Teddi — it runs on Supabase with its own auth layer. This is not a place to drop pages.
| Client | Vercel project(s) | What's in it |
|---|---|---|
| BB Garage | bb-garage-tools, bb-garage-kpi, bb-garage-dyno-card | Tool suite, KPI dashboard, dyno card generator |
| Core Diesel | cd-tools | Core Diesel tools |
| Holmes Aviation | holmes-tools, holmes-baseline | Tools + baseline tracker |
| Doctors on Demand | dod-email-builder, dod-email-audit | DoD email tools |
| V Spot | vspot-tool, vspot-masterclass | V Spot tools |
| Noranda | noranda-booking | Booking tool |
| CSP | csp-tools | CSP hub/builder |
If the client is on the list above, talk to Teddi before creating a new project. The new thing might belong in their existing one.
flyctl deploy --config scheduler/fly.toml --app hilda-scheduler --remote-only
The two Fly.io apps are hilda-scheduler and nearly-headless-hilda. Both deploy from the teddi-coder/nearly-headless-hilda repo.
Adding to an existing repo
- Clone the repo (or
git pullif you already have it) - Create a branch:
git checkout -b feat/your-description - Make your changes
- Push the branch:
git push origin feat/your-description - Open a pull request on GitHub
- Vercel automatically builds a preview deployment — the URL appears in the PR. Check it looks right.
- Merge the PR → Vercel auto-deploys to production. You never need to touch the Vercel UI.
Creating something brand new
- Create a new GitHub repo under the right account (see GitHub ownership above — if unsure, ask Teddi)
- Clone it locally, add your code
- Go to vercel.com → Hedgehog Marketing team → Add New Project
- Import from GitHub → select the new repo
- Configure: Framework (Next.js, static HTML, etc.), Root directory (leave as
/unless app is in a subfolder), Environment variables (add secrets now — do NOT commit.envfiles) - Deploy — Vercel sets up the Git integration automatically from here on
- Add a custom domain if needed: project → Settings → Domains
- Never commit
.envfiles to Git - Add secrets in Vercel: project → Settings → Environment Variables
- Set them for Production, Preview, and Development as appropriate
- If you're not sure what env vars a project needs, check the repo's
.env.examplefile
Most client tools get a subdomain on an existing domain rather than a brand new one.
| Type | Pattern | Example |
|---|---|---|
| Client tool | tools.[clientdomain].com | tools.corediesel.com.au |
| HH client portal | [client].hedgehogmarketing.com.au | theburrow.hedgehogmarketing.com.au |
| Standalone client app | Their own domain | season.ballinaathletics.club |
| MM tools | MM subdomain or own domain | Varies — ask Teddi |
To add a domain: Vercel project → Settings → Domains → Add. Then update DNS in Cloudflare (where most domains are managed).
- Don't deploy by uploading files in the Vercel UI. Always push to Git and let Vercel pick it up.
- Don't merge directly to
mainwithout a PR unless it's a trivial one-liner on a repo you know well. Preview deployments exist for a reason. - Don't create a new Vercel project for a single page that could be a route in an existing project.
- Don't add secrets to the repo. Vercel env vars only.
- Don't use your personal Vercel account for anything work-related. Everything goes under the Hedgehog Marketing team account.
- Don't touch NHH or the Hilda scheduler via Vercel — they're not there. They're on Fly.io with their own deploy process.
Auto-generated name suggests this was a StackBlitz prototype deployed directly to Vercel (created ~12 April 2026). No custom domain. Ask Teddi if it can be deleted.
HH Internal · Infrastructure · When in doubt, ask Teddi before creating a new Vercel project.