|
20 | 20 | - `rocketchat_title` - the title of the application, defaults to `{{application}}` |
21 | 21 | - `rocketchat_text` - notification message |
22 | 22 | ``` |
23 | | - set('rocketchat_text', '_{{user}}_ deploying {{branch}} to {{target}}'); |
| 23 | + set('rocketchat_text', '_{{user}}_ deploying {{what}} to {{where}}'); |
24 | 24 | ``` |
25 | 25 |
|
26 | 26 | - `rocketchat_success_text` – success template, default: |
27 | 27 | ``` |
28 | | - set('rocketchat_success_text', 'Deploy to *{{target}}* successful'); |
| 28 | + set('rocketchat_success_text', 'Deploy to *{{where}}* successful'); |
29 | 29 | ``` |
30 | 30 | - `rocketchat_failure_text` – failure template, default: |
31 | 31 | ``` |
32 | | - set('rocketchat_failure_text', 'Deploy to *{{target}}* failed'); |
| 32 | + set('rocketchat_failure_text', 'Deploy to *{{where}}* failed'); |
33 | 33 | ``` |
34 | 34 |
|
35 | 35 | - `rocketchat_color` – color's attachment |
|
78 | 78 | set('rocketchat_success_color', '#00c100'); |
79 | 79 | set('rocketchat_failure_color', '#ff0909'); |
80 | 80 |
|
81 | | -set('rocketchat_text', '_{{user}}_ deploying `{{branch}}` to *{{target}}*'); |
82 | | -set('rocketchat_success_text', 'Deploy to *{{target}}* successful'); |
83 | | -set('rocketchat_failure_text', 'Deploy to *{{target}}* failed'); |
| 81 | +set('rocketchat_text', '_{{user}}_ deploying `{{what}}` to *{{where}}*'); |
| 82 | +set('rocketchat_success_text', 'Deploy to *{{where}}* successful'); |
| 83 | +set('rocketchat_failure_text', 'Deploy to *{{where}}* failed'); |
84 | 84 |
|
85 | 85 | desc('Notifies RocketChat'); |
86 | 86 | task('rocketchat:notify', function () { |
|
0 commit comments