mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-24 01:24:18 +08:00
fix: use correct env var name NEXT_PUBLIC_POSTHOG_KEY in docs workflow
The GitHub secret is POSTHOG_API_KEY but Next.js requires the NEXT_PUBLIC_ prefix to expose it to the client bundle.
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Build site
|
||||
run: bun run --filter @kilocode/kilo-docs build
|
||||
env:
|
||||
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
|
||||
NEXT_PUBLIC_POSTHOG_KEY: ${{ secrets.POSTHOG_API_KEY }}
|
||||
|
||||
- name: Run tests
|
||||
run: bun run --filter @kilocode/kilo-docs test
|
||||
|
||||
Reference in New Issue
Block a user