Browse Source

Mail only on master

tobiasKaminsky 7 năm trước cách đây
mục cha
commit
1acf8432f0
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .drone.yml

+ 2 - 1
.drone.yml

@@ -51,7 +51,8 @@ pipeline:
       recipients: [ $EMAIL_RECIPIENTS ]
       secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD, EMAIL_RECIPIENTS, EMAIL_HOST ]
       when:
-        status: [ failure ]
+        status: failure
+        branch: master
 
 matrix:
   FLAVOUR: