Skip to content

Commit 61fa3f4

Browse files
committed
Support spaces in path in docker compose deployment
1 parent 6a051ce commit 61fa3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctfcli/core/deployment/ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _deploy_compose_stack(self, *args, **kwargs) -> DeploymentResult:
4747
[
4848
"ssh",
4949
host_url.netloc,
50-
f"cd {remote_path} && " "docker compose up -d --build --remove-orphans -y",
50+
f"cd '{remote_path}' && docker compose up -d --build --remove-orphans -y",
5151
],
5252
check=True,
5353
)

0 commit comments

Comments
 (0)