From 60a659dd32d90a8b20d94f91854b0768014237c3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Fri, 2 Jun 2023 20:07:22 +0200 Subject: [PATCH] Testing Publishing in drymode --- .woodpecker/publish.yml | 16 ++++++++++++++++ release_state.json | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.woodpecker/publish.yml b/.woodpecker/publish.yml index 9f6207c..d0295c4 100644 --- a/.woodpecker/publish.yml +++ b/.woodpecker/publish.yml @@ -18,5 +18,21 @@ pipeline: from_secret: ssh-key target: /srv/fwuploads-tmp/bin/ source: release_state.json + when: + path: "release_state.json" + + prepare: + 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 -d + - /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" \ No newline at end of file diff --git a/release_state.json b/release_state.json index eff0135..b3ce02b 100644 --- a/release_state.json +++ b/release_state.json @@ -1,5 +1,5 @@ { - "stable": "v2022.1.4", - "beta": "v2022.1.5", - "experimental": "v2022.1.4" + "stable": "v2020.2.2", + "beta": "v2020.2.2", + "experimental": "v2020.2.2" } \ No newline at end of file