fixing the sync command
All checks were successful
gl/check check status: success (d5d68b0d01180217285b9b2a55176d1749595ca8)
All checks were successful
gl/check check status: success (d5d68b0d01180217285b9b2a55176d1749595ca8)
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user