Skip to content

Commit cc28c29

Browse files
Pass through the Sentry DSN if available
1 parent e83100e commit cc28c29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
if: github.repository_owner == 'microbit-foundation'
4747
- run: npm run ci
4848
env:
49-
REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}
5049
REACT_APP_GA_COOKIE_PREFIX: ${{ secrets.REACT_APP_GA_COOKIE_PREFIX }}
50+
REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}
51+
REACT_APP_SENTRY_DSN: ${{ secrets.REACT_APP_SENTRY_DSN }}
5152
- run: mkdir -p /tmp/app${PUBLIC_URL} && cp -r build/* /tmp/app${PUBLIC_URL} && npx serve --no-clipboard -l 3000 /tmp/app &
5253
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
5354
- run: curl --insecure -4 --retry 7 --retry-connrefused http://localhost:3000 1>/dev/null

0 commit comments

Comments
 (0)