Added Pipeline for Releasing Firmware
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Stefan Hoffmann 2023-06-02 19:11:09 +02:00
parent 1ce75f03ca
commit 15eadd8765
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD
2 changed files with 27 additions and 0 deletions

22
.woodpecker/publish.yml Normal file
View File

@ -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"

5
release_state.json Normal file
View File

@ -0,0 +1,5 @@
{
"stable": "v2022.1.4",
"beta": "v2022.1.5",
"experimental": "v2022.1.4"
}