summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyborus <cyborus@noreply.codeberg.org>2023-12-17 18:03:09 +0100
committerCyborus <cyborus@noreply.codeberg.org>2023-12-17 18:03:09 +0100
commit84d5b8d0b80bf4ca3703387257863879a244bc91 (patch)
tree9f03ff18a58d8c5b8e4078d23888223088ee3b4c
parentMerge pull request 'set repo url when creating release' (#24) from url-remote... (diff)
parentfix adding token in ci (diff)
downloadforgejo-cli-84d5b8d0b80bf4ca3703387257863879a244bc91.tar.xz
forgejo-cli-84d5b8d0b80bf4ca3703387257863879a244bc91.zip
Merge pull request 'fix adding token in ci' (#26) from ci-fix into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/26
-rw-r--r--.woodpecker/deploy.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml
index 7babeec..c5ff4f4 100644
--- a/.woodpecker/deploy.yml
+++ b/.woodpecker/deploy.yml
@@ -33,7 +33,7 @@ steps:
image: codeberg.org/cyborus/forgejo-cli:latest
pull: true
commands:
- - echo $TOKEN | fj auth add-key codeberg.org Cyborus
+ - fj auth add-key codeberg.org Cyborus $TOKEN
- fj --remote $CI_REPO_URL release create $VERSION --create-tag --branch $BRANCH --attach forgejo-cli-windows.zip --attach forgejo-cli-windows.gz
- fj auth logout codeberg.org
secrets: [ token ]