From 46358e880fc2514442f503ceba85262af1e895b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 2 Apr 2020 21:02:39 +0200 Subject: [PATCH] Update Drone for dev only --- .drone.yml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index 20efc79..e81d4d3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,12 @@ -# PRODUCTION (on master) +# DEPLOY kind: pipeline name: dev -when: - branch: dev - status: [ success ] +trigger: + status: + - success + branch: + - dev steps: # @@ -84,19 +86,18 @@ steps: # # Notify (by Email) # - # - name: notify-email - # image: drillster/drone-email - # settings: - # skip_verify: true - # host: mail.flayks.com - # username: admin@flayks.com - # password: - # from_secret: notify_email_password - # from: admin@flayks.com - # recipients: - # - bonjour@shelbykay.dev - # - admin@flayks.com - # recipients_only: true + - name: notify-email + image: drillster/drone-email + settings: + skip_verify: true + host: mail.flayks.com + username: admin@flayks.com + password: + from_secret: notify_email_password + from: admin@flayks.com + recipients: + - admin@flayks.com + recipients_only: true # Mount cache volume