From 1462c2211b28ae4d24c86aa3bb661138531f5d4d Mon Sep 17 00:00:00 2001 From: zv0n Date: Wed, 28 Sep 2022 14:48:22 +0200 Subject: [PATCH] CI: only send notification on failure or change of status --- .drone.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9523ff3..b72181f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 + when: + status: [ changed, failure ]