add MM message (#712)

Change-Id: I0126ccf4cdcae72fad232f1222535d066b7d99b5
Signed-off-by: nickboldt <nboldt@redhat.com>
pull/714/head
Nick Boldt 2021-03-11 05:16:33 -05:00 committed by GitHub
parent ddcabcb60c
commit 961cb422b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -93,3 +93,12 @@ jobs:
git checkout ${BRANCH}
git checkout ${CHE_VERSION}-release
./make-release.sh ${CHE_VERSION} --push-git-changes --pull-requests ${{ github.event.inputs.force_update }}
- name: Create MM message
run: |
echo "{\"text\":\":building_construction: Che Operator ${{ github.event.inputs.version }} has been released: https://quay.io/eclipse/che-operator:${{ 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