add MM message (#19272)

Change-Id: I4b8c755f576407b3cdddbc8299838645127c64e2
Signed-off-by: nickboldt <nboldt@redhat.com>
7.28.x
Nick Boldt 2021-03-11 05:14:48 -05:00 committed by GitHub
parent 69fa3bf82e
commit 2b9feb0c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -149,3 +149,12 @@ jobs:
Eclipse Che ${{ github.event.inputs.version}}
draft: false
prerelease: false
- name: Create MM message
run: |
echo "{\"text\":\":building_construction: Che Server ${{ github.event.inputs.version }} has been released: https://quay.io/eclipse/che-server:${{ github.event.inputs.version }}\"}" > mattermost.json
- name: Send MM message
uses: mattermost/action-mattermost-notify@master
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_CHANNEL: eclipse-che-releases
MATTERMOST_USERNAME: che-bot