summaryrefslogtreecommitdiffstats
path: root/.woodpecker/deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker/deploy.yml')
-rw-r--r--.woodpecker/deploy.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml
index f39d31b..93d7bc8 100644
--- a/.woodpecker/deploy.yml
+++ b/.woodpecker/deploy.yml
@@ -43,6 +43,7 @@ steps:
image: codeberg.org/cyborus/forgejo-cli:latest
pull: true
commands:
+ - export FORGE_HOST=$(echo $CI_FORGE_URL | sed -E 's_^https?://__')
- fj --host $CI_FORGE_URL auth add-key $CI_REPO_OWNER $TOKEN
- fj release --repo $CI_REPO_URL asset create $CI_COMMIT_TAG forgejo-cli-windows.zip
- fj release --repo $CI_REPO_URL asset create $CI_COMMIT_TAG forgejo-cli-linux.gz