You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
727 B
30 lines
727 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: greeting
|
|
image: busybox
|
|
commands:
|
|
- echo hi
|
|
|
|
- name: gotify
|
|
image: fredix/drone-gotify
|
|
settings:
|
|
gotifytoken:
|
|
from_secret: plugin_gotifytoken
|
|
gotifyendpoint:
|
|
from_secret: plugin_gotifyendpoint
|
|
gotifytitle:
|
|
from_secret: plugin_gotifytitle
|
|
gotifypriority:
|
|
from_secret: plugin_gotifypriority
|
|
message: >
|
|
{{#success build.status}}
|
|
build {{build.number}} succeeded on {{repo.name}}. Good job {{build.author}} {{build.link}}
|
|
{{else}}
|
|
build {{build.number}} failed on {{repo.name}}. Fix me please {{build.author}} {{build.link}}
|
|
{{/success}}
|
|
when:
|
|
status: [ success, failure ]
|
|
|