mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 18:05:18 +00:00
Merge pull request #4054 from vincent-tarrit/4053-fix-slack-notifications-content
fix: actions in slack notification
This commit is contained in:
@@ -240,12 +240,10 @@ export const sendBuildErrorNotifications = async ({
|
|||||||
value: `\`\`\`${errorMessage}\`\`\``,
|
value: `\`\`\`${errorMessage}\`\`\``,
|
||||||
short: false,
|
short: false,
|
||||||
},
|
},
|
||||||
],
|
|
||||||
actions: [
|
|
||||||
{
|
{
|
||||||
type: "button",
|
title: "Details",
|
||||||
text: "View Build Details",
|
value: `<${buildLink}|View Build Details>`,
|
||||||
url: buildLink,
|
short: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -256,12 +256,10 @@ export const sendBuildSuccessNotifications = async ({
|
|||||||
value: date.toLocaleString(),
|
value: date.toLocaleString(),
|
||||||
short: true,
|
short: true,
|
||||||
},
|
},
|
||||||
],
|
|
||||||
actions: [
|
|
||||||
{
|
{
|
||||||
type: "button",
|
title: "Details",
|
||||||
text: "View Build Details",
|
value: `<${buildLink}|View Build Details>`,
|
||||||
url: buildLink,
|
short: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user