From 030072011116883f447955b3c967a1201bebfb10 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 21 Jul 2022 17:42:08 +0200 Subject: [PATCH] fix drone ci --- .drone.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5be9a4c..0f42d89 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,10 +12,8 @@ steps: tags: latest when: branch: - include: - master event: - include: - push - name: docker-build image: plugins/docker @@ -28,12 +26,11 @@ steps: tags: latest dry_run: true when: - branch: - exclude: - - master - event: - exclude: - - push + exclude: + branch: + - master + event: + - push - name: dev docker image: plugins/docker settings: @@ -45,10 +42,8 @@ steps: tags: dev when: branch: - include: - dev event: - include: - push - name: deploy image: appleboy/drone-ssh @@ -64,10 +59,8 @@ steps: - cd /root && docker-compose pull shbot && docker-compose up -d shbot when: branch: - include: - master event: - include: - push - name: deploy dev image: appleboy/drone-ssh @@ -83,8 +76,6 @@ steps: - cd /root && docker-compose -f shbot-dev.yaml pull shbot-dev && docker-compose -f shbot-dev.yaml up -d shbot-dev when: branch: - include: - dev event: - include: - push \ No newline at end of file