gluon-ci/.woodpecker/cleanup.yml

26 lines
613 B
YAML
Raw Normal View History

---
skip_clone: true
2023-05-23 08:05:08 +00:00
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/
2023-05-23 08:05:08 +00:00
depends_on:
- prepare
- build