site/.woodpecker/01-prepare.yml

22 lines
524 B
YAML
Raw Normal View History

2023-05-25 10:56:53 +00:00
---
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:
2023-05-30 19:05:53 +00:00
- 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
2023-05-25 12:22:05 +00:00
when:
2023-05-25 19:12:17 +00:00
event: tag