diff --git a/.drone.yml b/.drone.yml index 4235e2c..3aa217c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,8 +20,12 @@ steps: commands: - cd mario - find . -path "./build" -prune -or -path "./.cache" -prune -or -iname "*.cpp" -or -iname "*.hpp" -print | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {} + when: + status: + - failure + - success - name: notify - image: drillster/drone-email + image: docker.zvon.tech/drone-email:v0.01 settings: host: mail.zvon.tech username: