site/.woodpecker/prepare.yml
2023-05-25 20:55:58 +02:00

24 lines
582 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/next/*
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/stable
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/beta
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/experimental
when:
branch: stable
event: tag