Update client-build.yml (#40259)

This commit is contained in:
Nidhi 2025-04-15 19:26:59 +05:30 committed by GitHub
parent b39d21e786
commit 3dfc817beb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,7 @@ jobs:
echo "REACT_APP_ENVIRONMENT=PRODUCTION" >> $GITHUB_OUTPUT echo "REACT_APP_ENVIRONMENT=PRODUCTION" >> $GITHUB_OUTPUT
fi fi
if [[ "${{github.ref}}" == "refs/heads/release" ]]; then if [[ "${{github.ref}}" == "refs/heads/release" ]]; then
echo "REACT_APP_ENVIRONMENT=STAGING" >> $GITHUB_OUTPUT echo "REACT_APP_ENVIRONMENT=DEVELOPMENT" >> $GITHUB_OUTPUT
fi fi
# We burn React environment & the Segment analytics key into the build itself. # We burn React environment & the Segment analytics key into the build itself.