Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix for PR

Andras Bacsai04a5b1bd4fae
diff --git a/src/routes/api/v1/application/deploy/index.ts b/src/routes/api/v1/application/deploy/index.ts
index 467d630bda..aefafc28dc 100644
--- a/src/routes/api/v1/application/deploy/index.ts
+++ b/src/routes/api/v1/application/deploy/index.ts
@@ -65,7 +65,7 @@ export async function post(request: Request) {
'repository.organization': organization,
'repository.name': name,
'repository.branch': branch,
- 'general.pullRequest': 0,
+ 'general.pullRequest': { '$in': [null, 0] },
},
{ ...configuration },
{ upsert: true, new: true })