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