deploy (fix): Override existing values when loading env files
This commit is contained in:
1 parent
b602997f3a
commit
eeffb735ae
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ def deploy(args):
|
||||
env_vars = dotenv.dotenv_values(ef)
|
||||
for k, v in env_vars.items():
|
||||
print(f" {k}={v}")
|
||||
dotenv.load_dotenv(ef)
|
||||
dotenv.load_dotenv(ef, override=True)
|
||||
run(f"{compose_cmd} down {service_args}")
|
||||
run(f"{compose_cmd} build {service_args}")
|
||||
run(f"{compose_cmd} up {service_args} -d")
|
||||
|
||||
Reference in new issue
Block a user