From aeba87bc2e28de180954bf53530e7aab3db27e89 Mon Sep 17 00:00:00 2001 From: Lou King Date: Thu, 12 Dec 2024 14:41:48 -0500 Subject: [PATCH] fabfile does pull, up rather than down, up --- fabfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index 98e6908..254d8a4 100644 --- a/fabfile.py +++ b/fabfile.py @@ -51,5 +51,5 @@ def deploy(c, qualifier, branchname='master'): raise Exit(f'louking/{APP_NAME}/{branchname}/{the_file} does not exist') # stop and build/start docker services - c.run(f'cd {project_dir} && docker compose down') + c.run(f'cd {project_dir} && docker compose pull') c.run(f'cd {project_dir} && docker compose up -d')