fix: Update stucked builds on startup
This commit is contained in:
		| @@ -50,6 +50,11 @@ async function main() { | ||||
| 			} | ||||
| 		}); | ||||
| 	} | ||||
| 	// Update stucked builds | ||||
| 	await prisma.build.updateMany({ | ||||
| 		where: { status: 'running' }, | ||||
| 		data: { status: 'success' } | ||||
| 	}); | ||||
| } | ||||
| main() | ||||
| 	.catch((e) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai