fix: build npm static app with prod PostHog (#1416)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Rohit Malhotra
2026-06-17 20:42:16 +00:00
committed by GitHub
co-authored by openhands
parent c7a00b14ab
commit 4b0283ee8f
2 changed files with 36 additions and 0 deletions
+6
View File
@@ -60,6 +60,12 @@ jobs:
run: npm test
- name: Build app
env:
# Build the packaged static app the same way Docker tagged releases are
# built: production telemetry key and app-level PostHog key baked in.
# These are public, client-side project keys, not secrets.
VITE_APP_ENV: production
VITE_POSTHOG_CLIENT_KEY: ${{ vars.POSTHOG_PROD_KEY }}
run: npm run build
- name: Build library