Auto-deployment repo. Code lives in 3D, this repo handles Supabase deployment.
push to 3D/main → GitHub Actions → pull files → deploy to Supabase Edge Functions
Create a project at supabase.com, note your Project Ref.
Add these to this repo's Settings → Secrets:
| Secret | Value |
|---|---|
SUPABASE_ACCESS_TOKEN |
From supabase.com/dashboard/account/tokens |
SUPABASE_PROJECT_REF |
Your project ref (e.g. abcdefghijklmnop) |
Push to main or trigger manually from Actions tab.
| Function | URL | Purpose |
|---|---|---|
serve-site |
https://<ref>.functions.supabase.co/serve-site |
Serves static files (HTML/CSS/JS) |
api-proxy |
https://<ref>.functions.supabase.co/api-proxy |
AI API proxy (OpenAI/Anthropic/Gemini) |
supabase start
supabase functions serveWhen ready to go full client-side:
- Remove
api-proxyfunction - Update AI chat to call APIs directly from browser (with user's API key)
- Deploy
serve-siteonly — or switch to any static host (Vercel, Cloudflare Pages, GitHub Pages)