fix: turn off autodeploy for simpledockerfiles

This commit is contained in:
Andras Bacsai
2022-12-01 16:50:54 +01:00
parent 943a05edcc
commit ad4b974274
2 changed files with 22 additions and 20 deletions

View File

@@ -859,7 +859,7 @@ export async function saveApplicationSource(request: FastifyRequest<SaveApplicat
if (simpleDockerfile) {
await prisma.application.update({
where: { id },
data: { simpleDockerfile }
data: { simpleDockerfile, settings: { update: { autodeploy: false } } }
});
}