fix
This commit is contained in:
18
.github/workflows/notify.yaml
vendored
18
.github/workflows/notify.yaml
vendored
@@ -7,12 +7,14 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
gradle-build:
|
||||
uses: mattermost/action-mattermost-notify@master
|
||||
with:
|
||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
|
||||
PAYLOAD: |
|
||||
{
|
||||
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:"
|
||||
}
|
||||
notify:
|
||||
runs-on: gpu
|
||||
steps:
|
||||
- uses: mattermost/action-mattermost-notify@master
|
||||
with:
|
||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
|
||||
PAYLOAD: |
|
||||
{
|
||||
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was success :white_check_mark:"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user