gluon-ci/.woodpecker/upload.yml
Nils Stinnesbeck 7bdc5af75f
Some checks are pending
ci/woodpecker/push/upload Pipeline is pending
ci/woodpecker/push/prepare Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
added dependencies
2023-05-23 09:42:20 +02:00

23 lines
576 B
YAML

workspace:
base: /build
pipeline:
delete-old_move-new-firmware:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/stable
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
- mv /srv/fwuploads-testing/troisdorf/mutli/{incoming/stable/*,stable/}
depends_on:
- upload
- prepare