gluon-ci/.woodpecker/upload.yml
Nils Stinnesbeck 52dcd7f4ec
Some checks failed
ci/woodpecker/push/upload Pipeline is pending
ci/woodpecker/push/build Pipeline failed
testing multi pipeline build, this will probably not work
2023-05-23 09:14:33 +02:00

34 lines
834 B
YAML

workspace:
base: /build
pipeline:
show-images-${TARGET}:
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true
commands:
- ls -alh gluon/output/stable/images/factory
delete-old-firmware:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
- mkdir /srv/fwuploads-testing/troisdorf/multi/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/*