mirror of
https://github.com/valitydev/java-workflow.git
synced 2024-11-06 01:25:18 +00:00
add notification mm on deploy
This commit is contained in:
parent
f311da60fb
commit
cd1e45033d
13
.github/workflows/maven-service-deploy.yml
vendored
13
.github/workflows/maven-service-deploy.yml
vendored
@ -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: ""
|
Loading…
Reference in New Issue
Block a user