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

Reset the env before pushing #557

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Reset the env before pushing #557

merged 1 commit into from
Oct 30, 2023

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Oct 30, 2023

Calling load_envs again does not load updated env variables, because Dotenv does not overwrite existing values.

To fix this we'll store the original ENV and reset to it before reloading.

Fixes: #512

Calling `load_envs` again does not load updated env variables, because
Dotenv does not overwrite existing values.

To fix this we'll store the original ENV and reset to it before
reloading.

#512
@djmb djmb merged commit 78fc91f into main Oct 30, 2023
6 checks passed
@djmb djmb deleted the envify-reset-env-before-push branch October 30, 2023 11:54
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.

envify does not correctly change/update the value of a changed secret environment variable
1 participant