site/.woodpecker/publish.yml
Stefan 518b4ae032
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
First Publish of Beta 2022.1.4
2023-07-14 22:15:39 +02:00

39 lines
1.0 KiB
YAML

---
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"
publish-firmware:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b stable -d
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b beta
#- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b experimental -d
when:
path: "release_state.json"
event: "push"