Skip to content

Commit f56689a

Browse files
committed
Don't delete the subprojects directory on sync of superproject
1 parent c7d7360 commit f56689a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/builds/syncers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def copy(cls, path, target, host, is_file=False, **__):
103103
log.info(mkdir_cmd)
104104
# Add a slash when copying directories
105105
sync_cmd = (
106-
"ssh {user}@{server} 'rsync -av --delete {user}@{host}:{path} {target}'"
106+
"ssh {user}@{server} 'rsync -av --delete --exclude projects {user}@{host}:{path} {target}'"
107107
.format(
108108
host=host,
109109
path=path,

0 commit comments

Comments
 (0)