site/.woodpecker/01-prepare.yml

22 lines
524 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-tmp/troisdorf/multi/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/stable
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/beta
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/experimental
when:
event: tag