File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ parameters:
1111 The system-code of the system being changed. Defaults to the repository
1212 name.
1313 type : string
14+ slack-channels :
15+ default : ' '
16+ type : string
17+ description : >-
18+ Comma-separated list of Slack channel names for Change API notifications
19+ (e.g. 'apps-announce' or 'apps-announce, ft-tech-incidents').
20+ Production changes automatically notify #ft-changes. This parameter is for
21+ additional channels. Leave empty for the default #ft-changes channel only.
1422 cloudsmith-org :
1523 default : ' financial-times'
1624 type : string
@@ -47,6 +55,16 @@ steps:
4755 - run :
4856 name : Deploy to production
4957 command : npx dotcom-tool-kit deploy:production
50- - change-api/change-log :
51- environment : production
52- system-code : << parameters.system-code >>
58+ - when :
59+ condition : << parameters.slack-channels >>
60+ steps :
61+ - change-api/change-log :
62+ environment : production
63+ system-code : << parameters.system-code >>
64+ slack-channels : << parameters.slack-channels >>
65+ - unless :
66+ condition : << parameters.slack-channels >>
67+ steps :
68+ - change-api/change-log :
69+ environment : production
70+ system-code : << parameters.system-code >>
You can’t perform that action at this time.
0 commit comments