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