From b1fd1fb306d922c617760f473decfafd4dbd2b11 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 7 Dec 2024 21:48:51 -0600 Subject: [PATCH] refactor: enable preview deployments if autodeploy is disabled --- apps/dokploy/pages/api/deploy/github.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/dokploy/pages/api/deploy/github.ts b/apps/dokploy/pages/api/deploy/github.ts index f7a2e22d..a33bfb6c 100644 --- a/apps/dokploy/pages/api/deploy/github.ts +++ b/apps/dokploy/pages/api/deploy/github.ts @@ -191,7 +191,6 @@ export default async function handler( const apps = await db.query.applications.findMany({ where: and( eq(applications.sourceType, "github"), - eq(applications.autoDeploy, true), eq(applications.repository, repository), eq(applications.branch, branch), eq(applications.isPreviewDeploymentsActive, true),