From 15eadd8765355f8a3a16b90b11613bd2b68bb4a9 Mon Sep 17 00:00:00 2001 From: Stefan Date: Fri, 2 Jun 2023 19:11:09 +0200 Subject: [PATCH] Added Pipeline for Releasing Firmware --- .woodpecker/publish.yml | 22 ++++++++++++++++++++++ release_state.json | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 .woodpecker/publish.yml create mode 100644 release_state.json diff --git a/.woodpecker/publish.yml b/.woodpecker/publish.yml new file mode 100644 index 0000000..9f6207c --- /dev/null +++ b/.woodpecker/publish.yml @@ -0,0 +1,22 @@ +--- +platform: linux/arm64 + +workspace: + base: /build + +clone: + git: + image: woodpeckerci/plugin-git + +pipeline: + upload-version: + image: appleboy/drone-scp + settings: + host: 46.4.138.183 + user: fwupload + key: + from_secret: ssh-key + target: /srv/fwuploads-tmp/bin/ + source: release_state.json + when: + path: "release_state.json" \ No newline at end of file diff --git a/release_state.json b/release_state.json new file mode 100644 index 0000000..eff0135 --- /dev/null +++ b/release_state.json @@ -0,0 +1,5 @@ +{ + "stable": "v2022.1.4", + "beta": "v2022.1.5", + "experimental": "v2022.1.4" +} \ No newline at end of file