From 15e62961e8f5c595f9d53d530822c340abf54653 Mon Sep 17 00:00:00 2001 From: PiquelChips <63727792+PiquelChips@users.noreply.github.com> Date: Mon, 11 Aug 2025 14:09:02 +0200 Subject: [PATCH] fix: would only create previews if none of the labels were present --- apps/dokploy/pages/api/deploy/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/pages/api/deploy/github.ts b/apps/dokploy/pages/api/deploy/github.ts index bdb0c7fe2..7e3df5444 100644 --- a/apps/dokploy/pages/api/deploy/github.ts +++ b/apps/dokploy/pages/api/deploy/github.ts @@ -452,7 +452,7 @@ export default async function handler( break; } } - if (hasLabel) continue; + if (!hasLabel) continue; } const previewLimit = app?.previewLimit || 0;