fix
This commit is contained in:
6
.github/workflows/notify.yaml
vendored
6
.github/workflows/notify.yaml
vendored
@@ -6,10 +6,6 @@ on:
|
|||||||
result:
|
result:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
name:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: 'build'
|
|
||||||
jobs:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: gpu
|
runs-on: gpu
|
||||||
@@ -19,6 +15,6 @@ jobs:
|
|||||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.webhook }}
|
MATTERMOST_WEBHOOK_URL: ${{ secrets.webhook }}
|
||||||
PAYLOAD: |
|
PAYLOAD: |
|
||||||
{
|
{
|
||||||
"text": "${{ github.repository }} [${{ inputs.name}}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was ${{ inputs.status}} :white_check_mark:"
|
"text": "${{ github.repository }} [build](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was ${{ inputs.status}} :white_check_mark:"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user