diff --git a/components/server/ee/src/prebuilds/prebuild-manager.ts b/components/server/ee/src/prebuilds/prebuild-manager.ts index 0eac0cc1b5605c..3f8b3b3272e8a5 100644 --- a/components/server/ee/src/prebuilds/prebuild-manager.ts +++ b/components/server/ee/src/prebuilds/prebuild-manager.ts @@ -257,7 +257,7 @@ export class PrebuildManager { return false; } - const hasPrebuildTask = !!config.tasks && config.tasks.find((t) => !!t.init || !!t.prebuild); + const hasPrebuildTask = !!config.tasks && config.tasks.find((t) => !!t.before || !!t.init || !!t.prebuild); if (!hasPrebuildTask) { return false; }