forked from Freifunk-Troisdorf/site
Added Pipeline for Releasing Firmware
This commit is contained in:
parent
1ce75f03ca
commit
15eadd8765
22
.woodpecker/publish.yml
Normal file
22
.woodpecker/publish.yml
Normal 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
5
release_state.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"stable": "v2022.1.4",
|
||||
"beta": "v2022.1.5",
|
||||
"experimental": "v2022.1.4"
|
||||
}
|
Loading…
Reference in New Issue
Block a user