summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-12-12 20:57:52 +0100
committerCyborus <cyborus@cyborus.xyz>2024-12-12 20:57:52 +0100
commit3546499a47b911750af0c249e03891d2d44121da (patch)
treea43596ca64f3e32a7d9d3eddf20eec3ecec77b31
parentMerge pull request 'add `version --verbose`' (#149) from verbose-version into... (diff)
downloadforgejo-cli-3546499a47b911750af0c249e03891d2d44121da.tar.xz
forgejo-cli-3546499a47b911750af0c249e03891d2d44121da.zip
ci: update add-key args
-rw-r--r--.woodpecker/deploy.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml
index 8db6d24..f39d31b 100644
--- a/.woodpecker/deploy.yml
+++ b/.woodpecker/deploy.yml
@@ -43,8 +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 auth add-key $FORGE_HOST $CI_REPO_OWNER $TOKEN
+ - 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
- fj auth logout $FORGE_HOST