We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c56de5 commit 4f325f1Copy full SHA for 4f325f1
readthedocs/doc_builder/environments.py
@@ -862,7 +862,9 @@ def create_container(self):
862
)
863
client.start(container=self.container_id)
864
865
- if self.project.has_feature(Feature.BUILD_HEALTHCHECK):
+ # NOTE: as this environment is used for `sync_repository_task` it may
866
+ # not have a build associated. We skip running a healthcheck on those cases.
867
+ if self.project.has_feature(Feature.BUILD_HEALTHCHECK) and self.build:
868
self._run_background_healthcheck()
869
870
except (DockerAPIError, ConnectionError) as exc:
0 commit comments