.drone.yml aktualisiert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
rulrich 2024-03-12 08:27:56 +01:00
parent d6cd34471e
commit c0c31c95db

View file

@ -63,17 +63,18 @@ steps:
# event:
# - pull_request
- name: matrix-pr
# image: plugins/matrix
image: spotlightkid/drone-matrixchat-notify
- name: webhook-pr
image: plugins/webhook
settings:
homeserver: 'https://matrix.skunklab.ch'
roomid: '!riCgKYKseXqVODyuUG:skunklab.ch'
userid: '@rulrich:skunklab.ch'
accesstoken:
from_secret: matrix_accesstoken
device_id: ''
username:
from_secret: mattermost_username
password:
from_secret: mattermost_password
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
content_type: application/json
template: |
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
${DRONE_PULL_REQUEST_TITLE}](${DRONE_COMMIT_LINK})
{
"owner": "{{ repo.owner }}",
"repo": "{{ repo.name }}",
"status": "{{ build.status }}",
}