From 02f7c6b23695ac042da55280cd5efce49871ba30 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Tue, 23 May 2023 09:29:33 +0200 Subject: [PATCH] moved stuff around --- .woodpecker/build.yml | 11 +++++++++++ .woodpecker/upload.yml | 13 ++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 26f7074..8254d8c 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -43,6 +43,17 @@ pipeline: - echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET} - ls -alh gluon/output/stable/images/factory + upload: + image: appleboy/drone-scp + settings: + host: 46.4.138.183 + user: fwupload + key: + from_secret: ssh-key + strip_components: 0 + target: /srv/fwuploads-testing/troisdorf/mutli/incoming/stable + source: gluon/output/stable/* + matrix: TARGET: - ath79-generic diff --git a/.woodpecker/upload.yml b/.woodpecker/upload.yml index baa3b38..078e39d 100644 --- a/.woodpecker/upload.yml +++ b/.woodpecker/upload.yml @@ -8,7 +8,7 @@ pipeline: commands: - ls -alh gluon/output/stable/images/factory - delete-old-firmware: + delete-old_move-new-firmware: image: appleboy/drone-ssh settings: host: 46.4.138.183 @@ -20,14 +20,5 @@ pipeline: script: - rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/ - mkdir /srv/fwuploads-testing/troisdorf/multi/stable/ + - mv /srv/fwuploads-testing/troisdorf/mutli/{incoming/stable/*,stable/} - upload: - image: appleboy/drone-scp - settings: - host: 46.4.138.183 - user: fwupload - key: - from_secret: ssh-key - strip_components: 0 - target: /srv/fwuploads-testing/troisdorf/multi/stable/ - source: gluon/output/stable/*