From 0a0f420f5ef198b491c85bea9e6c63980facd19c Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Fri, 21 Feb 2020 21:36:49 +0100 Subject: [PATCH] drone doesn't like the order --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a131f92..a1437fc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,8 +15,6 @@ global-variables: - make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental upload: &upload - when: - branch: master image: appleboy/drone-scp settings: host: 46.4.138.183 @@ -24,6 +22,8 @@ global-variables: key: from_secret: ssh-update strip_components: 6 + when: + branch: master kind: pipeline type: docker @@ -155,8 +155,6 @@ steps: &steps - make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp - name: backup-old-firmware - when: - branch: master image: appleboy/drone-ssh settings: host: 46.4.138.183 @@ -171,6 +169,8 @@ steps: &steps - mkdir /srv/fwuploads/troisdorf/multi/stable - mkdir /srv/fwuploads/troisdorf/multi/beta - mkdir /srv/fwuploads/troisdorf/multi/experimental + when: + branch: master - name: upload stable <<: *upload