diff --git a/apps/server/src/routes/management.ts b/apps/server/src/routes/management.ts index d5bb731..cdcf45b 100644 --- a/apps/server/src/routes/management.ts +++ b/apps/server/src/routes/management.ts @@ -1336,7 +1336,6 @@ router.openapi(routes.deployments.release.create, async (c) => { c.executionCtx.waitUntil( sendReleaseNotification(c.env, { appName: app.name, - deploymentName, label: releasedPackage.label, appVersion: releasedPackage.appVersion, description: releasedPackage.description, @@ -1411,7 +1410,6 @@ router.openapi(routes.deployments.release.update, async (c) => { c.executionCtx.waitUntil( sendReleaseNotification(c.env, { appName: app.name, - deploymentName, label: updatedRelease.label, appVersion: updatedRelease.appVersion, description: updatedRelease.description, diff --git a/apps/server/src/utils/slack.ts b/apps/server/src/utils/slack.ts index 6ca3693..c122f50 100644 --- a/apps/server/src/utils/slack.ts +++ b/apps/server/src/utils/slack.ts @@ -18,7 +18,6 @@ const ACTION_EMOJI: Record = { type ReleaseNotificationType = { appName: string; - deploymentName: string; label?: string; appVersion: string; description?: string; @@ -49,11 +48,10 @@ export const sendReleaseNotification = async ( const summary = `*${info.label || "-"}* · App ${info.appVersion}`; const body = info.description ? `${summary}\n${info.description}` : summary; - // 부가 정보는 작은 context 줄로 (Deployment · Mandatory · Disabled · 작성자) + // 부가 정보는 작은 context 줄로 (Mandatory · Disabled · 작성자) const context = [ - `📦 ${info.deploymentName}`, - `Mandatory ${info.isMandatory ? "✅" : "❌"}`, - `Disabled ${info.isDisabled ? "✅" : "❌"}`, + `Mandatory ${info.isMandatory ? "✓" : "✗"}`, + `Disabled ${info.isDisabled ? "✓" : "✗"}`, `👤 ${info.releasedBy || "-"}`, ].join(" · ");