fixing the sync command

This commit is contained in:
vladimirhasko 2023-01-29 20:05:46 +00:00
parent 906a426a48
commit d5d68b0d01

View File

@ -116,9 +116,10 @@ def process_repositories(args, service):
sync( sync(
source_path, source_path,
target_path, target_path,
'sync',
purge=True, purge=True,
create=True, create=True,
exclude=['conf.py'] ignore=['conf.py']
) )
repo_to.index.add([doc["rst_location"]]) repo_to.index.add([doc["rst_location"]])
if len(repo_to.index.diff("HEAD")) == 0: if len(repo_to.index.diff("HEAD")) == 0: