danbooru-client/.drone.yml

51 lines
978 B
YAML

---
kind: pipeline
name: default
steps:
- name: build
image: einar/kde
privileged: true
pull: if-not-exists
commands:
- mkdir build
- cd build
- cmake ../
- make
when:
event:
- push
branch:
- master
- name: pack
image: einar/kde
pull: if-not-exists
commands:
- mkdir dists
- cmake -B dists
- make dist -C dists
when:
event:
- tag
- name: notify
image: plugins/matrix
settings:
homeserver: https://conference.heavensinferno.net
roomid:
from_secret: room_id
accesstoken:
from_secret: access_token
userid:
from_secret: user_id
when:
status:
- failure
- success
---
kind: signature
hmac: 1408e3f62ea801cf74cbee88b40cfd9759fc1a1a2d67e9ae5a3b336a14619de1
...