2023-05-25 10:56:53 +00:00
|
|
|
---
|
|
|
|
platform: linux/arm64
|
|
|
|
|
|
|
|
skip_clone: true
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /build
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
cleanup:
|
|
|
|
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-25 11:19:33 +00:00
|
|
|
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}
|
|
|
|
- rm -rf /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
|
|
|
|
- mkdir /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
|
|
|
|
- mv /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}/* /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
|
2023-05-25 10:56:53 +00:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build
|