diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 8254d8c..60c9799 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -79,3 +79,6 @@ matrix: # - x86-generic # - x86-geode # - x86-legacy + +depends_on: + - prepare diff --git a/.woodpecker/prepare.yml b/.woodpecker/prepare.yml new file mode 100644 index 0000000..c35c87b --- /dev/null +++ b/.woodpecker/prepare.yml @@ -0,0 +1,12 @@ +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: + - mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/stable diff --git a/.woodpecker/upload.yml b/.woodpecker/upload.yml index 7c5f149..5300c55 100644 --- a/.woodpecker/upload.yml +++ b/.woodpecker/upload.yml @@ -17,3 +17,6 @@ pipeline: - mkdir /srv/fwuploads-testing/troisdorf/multi/stable/ - mv /srv/fwuploads-testing/troisdorf/mutli/{incoming/stable/*,stable/} +depends_on: + - upload + - prepare