Skip to content

Commit 5ea9c44

Browse files
authored
Merge pull request #4255 from rtfd/humitos/project/skip-fix
Fix triggering a build for a skipped project
2 parents 396a84e + 14942e9 commit 5ea9c44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readthedocs/core/utils/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ def trigger_build(project, version=None, record=True, force=False):
168168
force,
169169
immutable=True,
170170
)
171+
172+
if update_docs_task is None:
173+
# Current project is skipped
174+
return None
175+
171176
return update_docs_task.apply_async()
172177

173178

0 commit comments

Comments
 (0)