diff options
author | Cyborus <cyborus@noreply.codeberg.org> | 2024-12-12 21:00:01 +0100 |
---|---|---|
committer | Cyborus <cyborus@noreply.codeberg.org> | 2024-12-12 21:00:01 +0100 |
commit | b636bd49194a7902f72768cf042765083ffb6079 (patch) | |
tree | a43596ca64f3e32a7d9d3eddf20eec3ecec77b31 | |
parent | Merge pull request 'add `version --verbose`' (#149) from verbose-version into... (diff) | |
parent | ci: update add-key args (diff) | |
download | forgejo-cli-b636bd49194a7902f72768cf042765083ffb6079.tar.xz forgejo-cli-b636bd49194a7902f72768cf042765083ffb6079.zip |
Merge pull request 'update add-key args in ci' (#150) from ci-update-add-key into mainv0.2.0
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/150
-rw-r--r-- | .woodpecker/deploy.yml | 3 |
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 |