summaryrefslogtreecommitdiffstats
path: root/.woodpecker
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-12-12 21:10:11 +0100
committerCyborus <cyborus@cyborus.xyz>2024-12-12 21:10:11 +0100
commit1b20ecb68d737d9869434ea1e90e910ce9e440db (patch)
tree46b8174e5ea41d08c454c773b33574f9b8ee795c /.woodpecker
parentMerge pull request 'update add-key args in ci' (#150) from ci-update-add-key ... (diff)
downloadforgejo-cli-1b20ecb68d737d9869434ea1e90e910ce9e440db.tar.xz
forgejo-cli-1b20ecb68d737d9869434ea1e90e910ce9e440db.zip
fix(ci): missing env var
Diffstat (limited to '.woodpecker')
-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