deploy (fix): Override existing values when loading env files

This commit is contained in:
John Colvin committed 2025-04-16 13:48:24 +00:00
1 parent b602997f3a
commit eeffb735ae
1 file changed
+1 -1
+1 -1
View File
@@ -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")