From a8729930e660c02e2754c997b1c1f2e3a5dff48a Mon Sep 17 00:00:00 2001 From: garrettmills Date: Tue, 8 Dec 2020 22:21:54 -0600 Subject: [PATCH] Update drone to use promotions for prod --- .drone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a908d15..692106d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,9 +30,8 @@ steps: - git pull - yarn install when: - event: - - tag - - promote + event: promote + target: production - name: restart production services image: appleboy/drone-ssh settings: @@ -48,9 +47,8 @@ steps: - systemctl restart coreid-www - systemctl restart coreid-jobs when: - event: - - tag - - promote + event: promote + target: production - name: send success notifications image: plugins/webhook settings: