File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,26 @@ jobs:
104104 # echo "⏰ Expires: 7 days"
105105 # echo "🔗 Access via your configured staging domain/collection selector"
106106
107+ - name : Notify documentation channel about deployment Success
108+ uses : mattermost/action-mattermost-notify@master
109+ if : success() && !cancelled()
110+ with :
111+ MATTERMOST_WEBHOOK_URL : ${{ secrets.MM_WEBHOOK_URL }}
112+ MATTERMOST_CHANNEL : documentation
113+ TEXT : |
114+ [Deployment](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) was completed :white_check_mark:
115+ MATTERMOST_USERNAME : " Github"
116+
117+ - name : Notify documentation channel about deployment Failure
118+ uses : mattermost/action-mattermost-notify@master
119+ if : failure() && !cancelled()
120+ with :
121+ MATTERMOST_WEBHOOK_URL : ${{ secrets.MM_WEBHOOK_URL }}
122+ MATTERMOST_CHANNEL : documentation
123+ TEXT : |
124+ [Deployment](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x:
125+ MATTERMOST_USERNAME : " Github"
126+
107127 auto-promote :
108128 name : Auto-promote to Production
109129 needs : [build, deploy]
You can’t perform that action at this time.
0 commit comments