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