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.
2 parents b68a921 + 3eaed99 commit 1277f4aCopy full SHA for 1277f4a
readthedocs/organizations/tasks.py
@@ -19,7 +19,7 @@ def mark_organization_assets_not_cleaned(build_pk):
19
return
20
21
organization = build.project.organizations.first()
22
- if organization:
+ if organization and organization.artifacts_cleaned:
23
log.info("Marking organization as not cleaned. organization=%s", organization.slug)
24
organization.artifacts_cleaned = False
25
organization.save()
0 commit comments