mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 16:19:05 +08:00
fix: build npm static app with prod PostHog (#1416)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
committed by
GitHub
co-authored by
openhands
parent
c7a00b14ab
commit
4b0283ee8f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user