From 7e1fb347eeac85d86bf3159dc05053a85de378cf Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 1 Feb 2022 00:08:23 +0100 Subject: [PATCH] Possible fix for CI releases --- .woodpecker/.docker.yml | 1 - .woodpecker/.gitea.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.docker.yml b/.woodpecker/.docker.yml index f23b3df0..9dfdf08d 100644 --- a/.woodpecker/.docker.yml +++ b/.woodpecker/.docker.yml @@ -31,4 +31,3 @@ pipeline: - CI_COMMIT_SHA when: event: tag - branch: main diff --git a/.woodpecker/.gitea.yml b/.woodpecker/.gitea.yml index e6062eb6..7e2a7cbf 100644 --- a/.woodpecker/.gitea.yml +++ b/.woodpecker/.gitea.yml @@ -14,7 +14,7 @@ pipeline: secrets: [ s3_username, s3_password ] commands: - mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD" - - mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets + - mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" . when: event: tag @@ -24,7 +24,7 @@ pipeline: - gitea_release_api_key settings: base_url: https://git.rustybever.be - files: assets/* + files: ${CI_COMMIT_SHA}/* checksums: - md5 - sha256