@@ -41,10 +41,6 @@ after('deploy:failed', 'teams:notify:failure');
41
41
set('teams_webhook', 'https://outlook.office.com/webhook/...');
42
42
```
43
43
- ` teams_title ` – the title of application, default ` {{application}} `
44
- - ` teams_failure_continue ` - allow deploys to continue on failure
45
- ```
46
- set('teams_failure_continue', true);
47
- ```
48
44
- ` teams_text ` – notification message template, markdown supported
49
45
```
50
46
set('teams_text', '_{{user}}_ deploying `{{what}}` to *{{where}}*');
@@ -60,7 +56,6 @@ after('deploy:failed', 'teams:notify:failure');
60
56
- ` teams_color ` – color's attachment
61
57
- ` teams_success_color ` – success color's attachment
62
58
- ` teams_failure_color ` – failure color's attachment
63
-
64
59
## Usage
65
60
If you want to notify only about beginning of deployment add this line only:
66
61
``` php
@@ -86,18 +81,19 @@ Title of project
86
81
return get('application', 'Project');
87
82
```
88
83
84
+
89
85
### teams_failure_continue
90
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L79 )
86
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L84 )
91
87
92
88
Allow Continue on Failure
93
89
94
- ``` php title="Continue on Failure "
95
- return get('teams_failure_continue', false)
90
+ ``` php title="Default value "
91
+ false
96
92
```
97
93
98
94
99
95
### teams_text
100
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L84 )
96
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L87 )
101
97
102
98
Deploy message
103
99
@@ -107,7 +103,7 @@ Deploy message
107
103
108
104
109
105
### teams_success_text
110
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L85 )
106
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L88 )
111
107
112
108
113
109
@@ -117,7 +113,7 @@ Deploy message
117
113
118
114
119
115
### teams_failure_text
120
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L86 )
116
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L89 )
121
117
122
118
123
119
@@ -127,7 +123,7 @@ Deploy message
127
123
128
124
129
125
### teams_color
130
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L89 )
126
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L92 )
131
127
132
128
Color of attachment
133
129
@@ -137,7 +133,7 @@ Color of attachment
137
133
138
134
139
135
### teams_success_color
140
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L90 )
136
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L93 )
141
137
142
138
143
139
@@ -147,7 +143,7 @@ Color of attachment
147
143
148
144
149
145
### teams_failure_color
150
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L91 )
146
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L94 )
151
147
152
148
153
149
@@ -160,23 +156,23 @@ Color of attachment
160
156
## Tasks
161
157
162
158
### teams\: notify {#teams-notify}
163
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L94 )
159
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L97 )
164
160
165
161
Notifies Teams.
166
162
167
163
168
164
169
165
170
166
### teams\: notify\: success {#teams-notify-success}
171
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L109 )
167
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L121 )
172
168
173
169
Notifies Teams about deploy finish.
174
170
175
171
176
172
177
173
178
174
### teams\: notify\: failure {#teams-notify-failure}
179
- [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L124 )
175
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/contrib/ms-teams.php#L144 )
180
176
181
177
Notifies Teams about deploy failure.
182
178
0 commit comments