[docsgen] Fix remote for fetch step
Change-Id: I509711a4f5fe4fa4fcd285f5cd74a76c16ba163a
diff --git a/recipes/contrib/docsgen.expected/existing_release_branch.json b/recipes/contrib/docsgen.expected/existing_release_branch.json
index e1e5de8..90b3618 100644
--- a/recipes/contrib/docsgen.expected/existing_release_branch.json
+++ b/recipes/contrib/docsgen.expected/existing_release_branch.json
@@ -2936,7 +2936,7 @@
"cmd": [
"git",
"fetch",
- "https://fuchsia.googlesource.com/integration",
+ "https://fuchsia.googlesource.com/reference-docs",
"releases/f5"
],
"cwd": "[START_DIR]/fuchsia-reference-docs",
diff --git a/recipes/contrib/docsgen.expected/new_release_branch.json b/recipes/contrib/docsgen.expected/new_release_branch.json
index 9e9d9ad..056f9de 100644
--- a/recipes/contrib/docsgen.expected/new_release_branch.json
+++ b/recipes/contrib/docsgen.expected/new_release_branch.json
@@ -3100,7 +3100,7 @@
"cmd": [
"git",
"fetch",
- "https://fuchsia.googlesource.com/integration",
+ "https://fuchsia.googlesource.com/reference-docs",
"releases/f5"
],
"cwd": "[START_DIR]/fuchsia-reference-docs",
diff --git a/recipes/contrib/docsgen.py b/recipes/contrib/docsgen.py
index 17e453b..fb38e09 100644
--- a/recipes/contrib/docsgen.py
+++ b/recipes/contrib/docsgen.py
@@ -61,7 +61,7 @@
revision=ref_doc_sha,
project=REFERENCE_DOCS_PROJECT,
)
- api.git.fetch(props.remote, refspec=release_branch)
+ api.git.fetch(REFERENCE_DOCS_REPOSITORY, refspec=release_branch)
api.git.raw_checkout(ref="FETCH_HEAD")
gen_docs_dict = api.file.read_json(