diff options
author | Cyborus <cyborus@noreply.codeberg.org> | 2024-12-12 21:12:58 +0100 |
---|---|---|
committer | Cyborus <cyborus@noreply.codeberg.org> | 2024-12-12 21:12:58 +0100 |
commit | f51a7093b9e608cae5fe4355dc2c8425b6e8d249 (patch) | |
tree | 46b8174e5ea41d08c454c773b33574f9b8ee795c | |
parent | Merge pull request 'update add-key args in ci' (#150) from ci-update-add-key ... (diff) | |
parent | fix(ci): missing env var (diff) | |
download | forgejo-cli-f51a7093b9e608cae5fe4355dc2c8425b6e8d249.tar.xz forgejo-cli-f51a7093b9e608cae5fe4355dc2c8425b6e8d249.zip |
Merge pull request 'fix missing env var in ci' (#151) from ci-fix-again into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/151
-rw-r--r-- | .woodpecker/deploy.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index f39d31b..93d7bc8 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -43,6 +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 --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 |