refactor: enable preview deployments if autodeploy is disabled

This commit is contained in:
Mauricio Siu
2024-12-07 21:48:51 -06:00
parent 46cd22038b
commit b1fd1fb306

View File

@@ -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),