CI: only send notification on failure or change of status
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
zv0n 2022-09-28 14:48:22 +02:00
parent 938958b709
commit 1462c2211b

View File

@ -7,14 +7,14 @@ platform:
arch: arm64
steps:
#- name: build
# image: docker.zvon.tech/cppbuilder:v0.06
# commands:
# - cd mario
# - mkdir build
# - cd build
# - cmake ..
# - make
- name: build
image: docker.zvon.tech/cppbuilder:v0.06
commands:
- cd mario
- mkdir build
- cd build
- cmake ..
- make
- name: formatting-check
image: docker.zvon.tech/cppbuilder:v0.06
commands:
@ -34,3 +34,5 @@ steps:
from_secret: email_password
port: 465
from: Drone <drone@zvon.tech>
when:
status: [ changed, failure ]