CI: only send notification on failure or change of status

This commit is contained in:
2022-09-28 14:48:22 +02:00
parent 938958b709
commit 1462c2211b
+10 -8
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 ]