moved stuff around
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/upload Pipeline failed

This commit is contained in:
Nils Stinnesbeck 2023-05-23 09:29:33 +02:00
parent 5180c10822
commit 02f7c6b236
Signed by: nils
GPG Key ID: C52E07422A136076
2 changed files with 13 additions and 11 deletions

View File

@ -43,6 +43,17 @@ pipeline:
- echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET} - echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET}
- ls -alh gluon/output/stable/images/factory - 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: matrix:
TARGET: TARGET:
- ath79-generic - ath79-generic

View File

@ -8,7 +8,7 @@ pipeline:
commands: commands:
- ls -alh gluon/output/stable/images/factory - ls -alh gluon/output/stable/images/factory
delete-old-firmware: delete-old_move-new-firmware:
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 46.4.138.183 host: 46.4.138.183
@ -20,14 +20,5 @@ pipeline:
script: script:
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/ - rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
- mkdir /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/*