Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve issue with env variable being overwritten #662

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

kpyszkowski
Copy link
Contributor

CI set the environment variable on build
DAPP_DEVELOPMENT_TESTNET_CONTRACTS but the dapp didn't read that because it had REACT_APP_DAPP_DEVELOPMENT_TESTNET_CONTRACTS = false and .env took precedence. The change sets the .env based on the specified environment variable so the dapp will now take that into account.

CI set the environment variable on build
`DAPP_DEVELOPMENT_TESTNET_CONTRACTS` but the dapp didn't read that because
it had `REACT_APP_DAPP_DEVELOPMENT_TESTNET_CONTRACTS = false` and `.env`
took precedence. The change sets the `.env` based on the specified
environment variable so the dapp will now take that into account.
Copy link

@lukasz-zimnoch lukasz-zimnoch merged commit 7e5bdb1 into main Nov 20, 2023
5 checks passed
@lukasz-zimnoch lukasz-zimnoch deleted the env-variable-ci-fix branch November 20, 2023 17:20
@michalsmiarowski michalsmiarowski added this to the v1.13.0 milestone Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants