Merge pull request 'fix adding token in ci' (#26) from ci-fix into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/26
This commit is contained in:
Cyborus 2023-12-17 17:03:09 +00:00
commit 84d5b8d0b8

View file

@ -33,7 +33,7 @@ steps:
image: codeberg.org/cyborus/forgejo-cli:latest image: codeberg.org/cyborus/forgejo-cli:latest
pull: true pull: true
commands: 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 --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 - fj auth logout codeberg.org
secrets: [ token ] secrets: [ token ]