gluon-ci/.woodpecker/03_cleanup.yml

23 lines
591 B
YAML
Raw Normal View History

workspace:
base: /build
pipeline:
2023-05-23 07:57:07 +00:00
cleanup:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
2023-05-23 07:33:15 +00:00
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/stable
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
2023-05-23 07:49:42 +00:00
- mv /srv/fwuploads-testing/troisdorf/mutli/incoming/stable/* /srv/fwuploads-testing/troisdorf/mutli/stable/
2023-05-23 07:42:20 +00:00
depends_on:
- prepare
2023-05-23 07:45:56 +00:00
- build