diff --git a/.drone.yml b/.drone.yml index 0f42d89..2fd10a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,7 @@ kind: pipeline name: deploy steps: -- name: docker +- name: docker image: plugins/docker settings: username: @@ -13,8 +13,6 @@ steps: when: branch: - master - event: - - push - name: docker-build image: plugins/docker settings: @@ -26,11 +24,9 @@ steps: tags: latest dry_run: true when: - exclude: - branch: + branch: + exclude: - master - event: - - push - name: dev docker image: plugins/docker settings: @@ -43,8 +39,6 @@ steps: when: branch: - dev - event: - - push - name: deploy image: appleboy/drone-ssh settings: @@ -60,8 +54,6 @@ steps: when: branch: - master - event: - - push - name: deploy dev image: appleboy/drone-ssh settings: @@ -77,5 +69,6 @@ steps: when: branch: - dev - event: - - push \ No newline at end of file +when: + event: + - push \ No newline at end of file