From ca309400754cff5c3412ec22df9f3eb59eecf0f0 Mon Sep 17 00:00:00 2001 From: Rishi Balakrishnan Date: Wed, 5 Aug 2026 14:11:32 -0400 Subject: [PATCH] fix(ci): bake metrics + GrowthBook env into PR OTA bundles (#161) PR-channel OTA publishes were missing EXPO_PUBLIC_METRICS_API_HOST and the GrowthBook host/key, so those bundles fell back to the upstream defaults and never received our feature flags. --- .github/workflows/pull-request-comment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull-request-comment.yml b/.github/workflows/pull-request-comment.yml index 2639a3de9..e3338070a 100644 --- a/.github/workflows/pull-request-comment.yml +++ b/.github/workflows/pull-request-comment.yml @@ -176,6 +176,9 @@ jobs: echo "EXPO_PUBLIC_SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> .env echo "EXPO_PUBLIC_BITDRIFT_API_KEY=${{ secrets.BITDRIFT_API_KEY }}" >> .env echo "EXPO_PUBLIC_GCP_PROJECT_ID=${{ secrets.EXPO_PUBLIC_GCP_PROJECT_ID }}" >> .env + echo "EXPO_PUBLIC_METRICS_API_HOST=${{ secrets.EXPO_PUBLIC_METRICS_API_HOST }}" >> .env + echo "EXPO_PUBLIC_GROWTHBOOK_API_HOST=${{ secrets.EXPO_PUBLIC_GROWTHBOOK_API_HOST }}" >> .env + echo "EXPO_PUBLIC_GROWTHBOOK_CLIENT_KEY=${{ secrets.EXPO_PUBLIC_GROWTHBOOK_CLIENT_KEY }}" >> .env echo "$json" > google-services.json - name: 🚀 Publish PR OTA Update (eoas) -- knotmirror 0.0.1