Properly call sync_callback when there aren't any MULTIPLE_APP_SERVERS settings
@@ -1087,6 +1087,14 @@ class UpdateDocsTaskStep(SyncRepositoryMixin, CachedEnvironmentMixin):
delete_unsynced_media = True
# Broadcast finalization steps to web application instances
+ if not settings.MULTIPLE_APP_SERVERS:
+ sync_callback.delay(
+ version_pk=self.version.pk,
+ commit=self.build['commit'],
+ build=self.build['id'],
+ )
+
+ else:
broadcast(
type='app',
task=sync_files,
