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