CI: only send notification on failure or change of status
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
938958b709
commit
1462c2211b
18
.drone.yml
18
.drone.yml
@ -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 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user