diff --git a/spcd/cmd.py b/spcd/cmd.py index 02a2b49..0dbfe90 100644 --- a/spcd/cmd.py +++ b/spcd/cmd.py @@ -43,9 +43,9 @@ def spcd_synchronize( user = "cd" host = env.SPCD_PROJECT_PATH root = ( - Path(os.sep) / user / project.branch / projects.group / project.name + Path(os.sep) / user / projects.group / project.name / project.branch ) - target = f"{user}@{host}:{root}" + target = f"{user}@{host}:{root}/web" if not source: source = "out" ps.run(