text changes
This commit is contained in:
@@ -641,9 +641,9 @@ export async function buildImage({
|
||||
commit
|
||||
}) {
|
||||
if (isCache) {
|
||||
await saveBuildLog({ line: `[CACHE] Building cache image.`, buildId, applicationId });
|
||||
await saveBuildLog({ line: `Cache | Building cache image.`, buildId, applicationId });
|
||||
} else {
|
||||
await saveBuildLog({ line: `[PRODUCTION] Building production image.`, buildId, applicationId });
|
||||
await saveBuildLog({ line: `Production | Building production image.`, buildId, applicationId });
|
||||
}
|
||||
if (!debug) {
|
||||
await saveBuildLog({
|
||||
@@ -667,12 +667,12 @@ export async function buildImage({
|
||||
|
||||
const { status } = await prisma.build.findUnique({ where: { id: buildId } })
|
||||
if (status === 'canceled') {
|
||||
throw new Error('[DEPLOYMENT] Canceled!!!')
|
||||
throw new Error('Deployment | Canceled!!!')
|
||||
}
|
||||
if (isCache) {
|
||||
await saveBuildLog({ line: `[CACHE] Successful! 🎉`, buildId, applicationId });
|
||||
await saveBuildLog({ line: `Cache | Successful! 🎉`, buildId, applicationId });
|
||||
} else {
|
||||
await saveBuildLog({ line: `[PRODUCTION] Successful! 🎉`, buildId, applicationId });
|
||||
await saveBuildLog({ line: `Production | Successful! 🎉`, buildId, applicationId });
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user