From ce621421fa105ae85b38673df71187c90096a1f7 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Sun, 17 Dec 2023 11:24:06 -0500 Subject: [PATCH 1/2] set repo url when creating release --- .woodpecker/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 04da941..354ed0f 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -34,7 +34,7 @@ steps: pull: true commands: - echo $TOKEN | fj auth add-key codeberg.org Cyborus - - fj release create $VERSION --create-tag --branch $BRANCH --attach forgejo-cli-windows.zip --attach forgejo-cli-windows.gz + - fj -R $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 ] From f2bb74b77d803ed10fc80d04b91ad3b342fde66e Mon Sep 17 00:00:00 2001 From: Cyborus Date: Sun, 17 Dec 2023 11:25:09 -0500 Subject: [PATCH 2/2] use long form flag --- .woodpecker/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 354ed0f..7babeec 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -34,7 +34,7 @@ steps: pull: true commands: - echo $TOKEN | fj auth add-key codeberg.org Cyborus - - fj -R $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 secrets: [ token ]