gluon-ci/.woodpecker/cleanup.yml
Nils Stinnesbeck 331e529bf4
Some checks are pending
ci/woodpecker/push/cleanup Pipeline is pending
removed steps temporarily
2023-05-24 07:14:37 +02:00

22 lines
578 B
YAML

---
skip_clone: true
workspace:
base: /build
pipeline:
cleanup:
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/multi/incoming/stable/* /srv/fwuploads-testing/troisdorf/multi/stable/