Skip to content

Commit 3c06744

Browse files
committed
Remove stub text for deployment message
1 parent f16cf79 commit 3c06744

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

lib/default-config.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ module.exports = {
1717

1818
return slack.notify({
1919
attachments: [{
20-
"fallback":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.",
21-
"pretext":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.",
22-
"color":"good",
23-
"fields":[
24-
{
25-
"title":"Stats",
26-
"value":"Deploying revision 123451 took "+duration.format('m [min], s [s], S [ms]')+'.',
27-
"short":false
28-
}
20+
"fallback":"Deployment finished! New revision was successfully uploaded.",
21+
"pretext":"Deployment finished! New revision was successfully uploaded.",
22+
"color":"good",
23+
"fields":[
24+
{
25+
"title":"Stats",
26+
"value":"Deploying revision took "+duration.format('m [min], s [s], S [ms]')+'.',
27+
"short":false
28+
}
2929
]
3030
}]
3131
});
@@ -37,15 +37,15 @@ module.exports = {
3737
return slack.notify({
3838
attachments: [{
3939
"fallback": "Deployment failed!",
40-
"pretext": "Deployment failed!",
41-
"color": "danger",
42-
"fields":[
43-
{
44-
"title": "Failure",
45-
"value": message,
46-
"short": false
47-
}
48-
]
40+
"pretext": "Deployment failed!",
41+
"color": "danger",
42+
"fields":[
43+
{
44+
"title": "Failure",
45+
"value": message,
46+
"short": false
47+
}
48+
]
4949
}]
5050
});
5151
}

0 commit comments

Comments
 (0)