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

20 lines
398 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/testing/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/testing/
when:
branch: next