Skip to content

Commit eebe853

Browse files
Route the measurement id through workflow (#1097)
1 parent 0d613cd commit eebe853

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
- run: node ./bin/print-ci-env-public-url.js >> $GITHUB_ENV
4444
- run: npm run ci:update-version
4545
- run: npm run ci
46+
env:
47+
REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}
4648
- run: mkdir -p /tmp/app${PUBLIC_URL} && cp -r build/* /tmp/app${PUBLIC_URL} && npx serve --no-clipboard -l 3000 /tmp/app &
4749
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
4850
- run: curl --insecure -4 --retry 7 --retry-connrefused http://localhost:3000 1>/dev/null

0 commit comments

Comments
 (0)