site/.woodpecker/prepare.yml
2023-05-30 21:05:53 +02:00

23 lines
545 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:
branch: stable
event: tag