add notification mm on deploy

This commit is contained in:
vitaxa 2022-01-21 16:10:05 +03:00
parent f311da60fb
commit cd1e45033d

View File

@ -38,3 +38,16 @@ jobs:
with:
registry-username: ${{ github.actor }}
registry-access-token: ${{ secrets.github-token }}
notify:
runs-on: ubuntu-20.04
needs: build-and-deploy
steps:
- name: Mattermost Notification
uses: rtCamp/action-slack-notify@v2.2.0
env:
SLACK_USERNAME: ${GITHUB_REPOSITORY#*/}
SLACK_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
SLACK_ICON: https://brew.sh/assets/img/homebrew-256x256.png
SLACK_COLOR: ${{ job.status }}
SLACK_LINK_NAMES: true
SLACK_FOOTER: ""