mirror of
https://github.com/thegeeklab/retry.git
synced 2024-10-22 22:30:38 +00:00
31 lines
724 B
YAML
31 lines
724 B
YAML
---
|
|
when:
|
|
- ref: refs/heads/main
|
|
- ref: refs/tags/**
|
|
runs_on:
|
|
- success
|
|
- failure
|
|
|
|
steps:
|
|
matrix:
|
|
image: quay.io/thegeeklab/drone-matrix
|
|
settings:
|
|
homeserver:
|
|
from_secret: matrix_homeserver
|
|
password:
|
|
from_secret: matrix_password
|
|
roomid:
|
|
from_secret: matrix_roomid
|
|
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
|
|
username:
|
|
from_secret: matrix_username
|
|
when:
|
|
- status:
|
|
- success
|
|
- failure
|
|
|
|
depends_on:
|
|
- test
|
|
- container
|
|
- release
|