Skip to content

Commit aeee1ee

Browse files
authored
Add the api_client into the sync_repo task (#10431)
Add the api_client into the sync_repo task This is required for .com
1 parent 8f414ee commit aeee1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs/projects/tasks/builds.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ def execute(self):
208208
environment={
209209
"GIT_TERMINAL_PROMPT": "0",
210210
},
211+
# Pass the api_client so that all environments have it.
212+
# This is needed for ``readthedocs-corporate``.
213+
api_client=self.data.api_client,
211214
# Do not try to save commands on the db because they are just for
212215
# sync repository
213216
record=False,

0 commit comments

Comments
 (0)