From 1dd713a1d1411bf697e98d22db0c784b9e278cb7 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 13 Jul 2025 23:20:23 -0600 Subject: [PATCH] fix(deploy): change preview deployment limit check to be exclusive --- 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 5f518b696..325b4f1be 100644 --- a/apps/dokploy/pages/api/deploy/github.ts +++ b/apps/dokploy/pages/api/deploy/github.ts @@ -443,7 +443,7 @@ export default async function handler( for (const app of secureApps) { const previewLimit = app?.previewLimit || 0; - if (app?.previewDeployments?.length >= previewLimit) { + if (app?.previewDeployments?.length > previewLimit) { continue; } const previewDeploymentResult =