From 011b0c3f98ca62e570ee4991ae16c331f74176a1 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 25 Apr 2019 20:05:12 +0200 Subject: [PATCH] Updated drone config for drone 1 --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 53c36850..a23da97c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,8 +48,9 @@ steps: - cd dist - zip -r ../vikunja-frontend-master.zip * - cd .. + depends_on: [ build ] - - name: release-latest + - name: release image: plugins/s3:1 pull: true settings: @@ -61,6 +62,7 @@ steps: endpoint: https://storage.kolaente.de path_style: true source: vikunja-frontend-master.zip + depends_on: [ static ] # Build the docker image and push it to docker hub - name: docker @@ -73,6 +75,7 @@ steps: from_secret: docker_password repo: vikunja/frontend auto_tag: true + depends_on: [ static ] # Update the instance on try.vikunja.io - name: rancher @@ -115,8 +118,9 @@ steps: - cd dist - zip -r ../vikunja-frontend-${DRONE_TAG##v}.zip * - cd .. + depends_on: [ build ] - - name: release-latest + - name: release image: plugins/s3:1 pull: true settings: @@ -128,6 +132,7 @@ steps: endpoint: https://storage.kolaente.de path_style: true source: vikunja-frontend-${DRONE_TAG##v}.zip + depends_on: [ static ] # Build the docker image and push it to docker hub - name: docker @@ -140,3 +145,4 @@ steps: from_secret: docker_password repo: vikunja/frontend auto_tag: true + depends_on: [ static ]