Skip to content

Commit 071e55d

Browse files
committed
Add the api_client into the sync_repo task
This is required for .com
1 parent 8012b88 commit 071e55d

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
@@ -209,6 +209,9 @@ def execute(self):
209209
environment={
210210
"GIT_TERMINAL_PROMPT": "0",
211211
},
212+
# Pass the api_client so that all environments have it.
213+
# This is needed for ``readthedocs-corporate``.
214+
api_client=self.data.api_client,
212215
# Do not try to save commands on the db because they are just for
213216
# sync repository
214217
record=False,

0 commit comments

Comments
 (0)