From b5e068cad42901806a893ad824c86b254cc19e30 Mon Sep 17 00:00:00 2001 From: sebclem Date: Fri, 14 Jan 2022 14:42:24 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5e724d3..4807622 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,9 +15,8 @@ steps: tags: latest dry_run: true when: - target: - exclude: - - production + environment: + exclude: production - name: Build and Push docker image: plugins/docker @@ -32,12 +31,5 @@ steps: when: branch: - main - target: - - production - -trigger: - event: - - push - - custom - - promote - - rollback \ No newline at end of file + environment: + - production \ No newline at end of file