# GitHub auth for scripts/federated-content/fetch-federated-content.ts (pulls # troubleshooting content from the private supabase/troubleshooting repo). # Same credentials as apps/docs — that GitHub App must also be granted # access to supabase/troubleshooting. # # Preferred: a GitHub App installation. Set all three or none. KB_GITHUB_APP_ID= KB_GITHUB_APP_INSTALLATION_ID= KB_GITHUB_APP_PRIVATE_KEY= # Fallback for local dev if the App isn't configured: a personal access # token, e.g. `export GH_TOKEN=$(gh auth token)`. GH_TOKEN= # Supabase project backing troubleshooting_entries (same project apps/www and # apps/studio use — supabase/config.toml's `[remotes.prod]`). Everything in kb # uses the service role key: the Astro build reads with it, the sync scripts # also write, and api/search/index.ts queries kb_search at runtime. Never # expose it to client code. SUPABASE_URL= SUPABASE_SERVICE_ROLE_KEY= # Dev only: where the search dialog calls api/search. It's a Vercel function, which `astro dev` # doesn't serve, so point this at a deployed instance, e.g. https://supabase.com/kb/api/search. # Ignored in production and preview builds, which use the site's own /kb/api/search. PUBLIC_KB_SEARCH_URL= # Supabase project that serves the og-images edge function # when not set: pages use the default OG image MISC_URL=