Skip to content

Commit 47e29d7

Browse files
authored
fix(deploy_robots): default to bitbots_main workspace (#760)
2 parents f14c281 + 0958cd6 commit 47e29d7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/deploy/deploy_robots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ def _parse_arguments(self) -> argparse.Namespace:
118118
parser.add_argument(
119119
"-w",
120120
"--workspace",
121-
default=".",
122-
help="Path to the workspace directory to deploy to. Defaults to the current directory.",
121+
default="~/bitbots_main",
122+
help="Path to the workspace directory to deploy to. Defaults to 'bitbots_main' in $HOME dir.",
123123
)
124124
parser.add_argument("--skip-local-repo-check", action="store_true", help="Skip the local repository check.")
125125

scripts/deploy/tasks/sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def _sync_single(connection: Connection) -> Result | None:
4545
"rsync",
4646
"--checksum",
4747
"--archive",
48+
"--delete",
4849
"-e",
4950
'"ssh -o StrictHostKeyChecking=no"',
5051
f"--exclude-from={os.path.join(self._local_workspace, '.rsyncignore')}",

0 commit comments

Comments
 (0)