Add REACT_APP_GOOGLE_ANALYTICS_ID as build time env var (#3903)

This commit is contained in:
Rishabh Saxena 2021-04-12 14:36:40 +05:30 committed by GitHub
parent 337b1a8835
commit 31290b500b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ jobs:
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
REACT_APP_VERSION_ID=${{ steps.vars.outputs.version }} \
REACT_APP_VERSION_RELEASE_DATE=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
REACT_APP_GOOGLE_ANALYTICS_ID=${{ secrets.GOOGLE_TAG_MANAGER_ID }} \
yarn build
# Upload the build artifact so that it can be used by the test & deploy job in the workflow