fix adding token in ci

This commit is contained in:
Cyborus 2023-12-17 11:59:10 -05:00
parent 23187f4bef
commit 6ae35a398d
No known key found for this signature in database

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 ]