File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,23 @@ jobs:
110
110
project_directory : compute-js
111
111
env :
112
112
FASTLY_API_TOKEN : ${{ secrets.FASTLY_API_TOKEN }}
113
+
114
+ - name : Notify documentation channel about deployment Success
115
+ uses : mattermost/action-mattermost-notify@master
116
+ if : success() && !cancelled()
117
+ with :
118
+ MATTERMOST_WEBHOOK_URL : ${{ secrets.MM_WEBHOOK_URL }}
119
+ MATTERMOST_CHANNEL : documentation
120
+ TEXT : |
121
+ [Deployment](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) was completed :white_check_mark:
122
+ MATTERMOST_USERNAME : " Github"
123
+
124
+ - name : Notify documentation channel about deployment Failure
125
+ uses : mattermost/action-mattermost-notify@master
126
+ if : failure() && !cancelled()
127
+ with :
128
+ MATTERMOST_WEBHOOK_URL : ${{ secrets.MM_WEBHOOK_URL }}
129
+ MATTERMOST_CHANNEL : documentation
130
+ TEXT : |
131
+ [Deployment](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x:
132
+ MATTERMOST_USERNAME : " Github"
You can’t perform that action at this time.
0 commit comments