site/.woodpecker/prepare.yml
2023-05-25 14:22:05 +02:00

21 lines
456 B
YAML

---
platform: linux/arm64
skip_clone: true
pipeline:
prepare:
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/incoming/${CI_COMMIT_BRANCH}
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}
when:
event: tag