.drone.yml aktualisiert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d6cd34471e
commit
c0c31c95db
1 changed files with 13 additions and 12 deletions
25
.drone.yml
25
.drone.yml
|
|
@ -63,17 +63,18 @@ steps:
|
||||||
# event:
|
# event:
|
||||||
# - pull_request
|
# - pull_request
|
||||||
|
|
||||||
- name: matrix-pr
|
- name: webhook-pr
|
||||||
# image: plugins/matrix
|
image: plugins/webhook
|
||||||
image: spotlightkid/drone-matrixchat-notify
|
|
||||||
settings:
|
settings:
|
||||||
homeserver: 'https://matrix.skunklab.ch'
|
username:
|
||||||
roomid: '!riCgKYKseXqVODyuUG:skunklab.ch'
|
from_secret: mattermost_username
|
||||||
userid: '@rulrich:skunklab.ch'
|
password:
|
||||||
accesstoken:
|
from_secret: mattermost_password
|
||||||
from_secret: matrix_accesstoken
|
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
|
||||||
device_id: ''
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
|
{
|
||||||
|
"owner": "{{ repo.owner }}",
|
||||||
${DRONE_PULL_REQUEST_TITLE}](${DRONE_COMMIT_LINK})
|
"repo": "{{ repo.name }}",
|
||||||
|
"status": "{{ build.status }}",
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue