From db567849bfdb6f1ab5b983d027cd9618f2436b62 Mon Sep 17 00:00:00 2001 From: nyosic Date: Fri, 4 Apr 2025 13:34:38 +0000 Subject: [PATCH] Update .woodpecker/default.yml --- .woodpecker/default.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.woodpecker/default.yml b/.woodpecker/default.yml index 9f49a12..b6a4b4a 100644 --- a/.woodpecker/default.yml +++ b/.woodpecker/default.yml @@ -24,12 +24,13 @@ steps: # Step 3: Upload Release Artifact - name: release - image: woodpeckerci/release:latest - settings: - api_key: ${GITEA_TOKEN} # Set your API key (GitHub, GitLab, etc.) - target: 'MarioDB' # Replace with your project's name - files: - - release/main # Replace with your actual binary name + image: woodpeckerci/plugin-gitea-release + environment: + GITEA_URL: "https://git.xyro.win" + GITEA_TOKEN: "${GITEA_TOKEN}" # Make sure to set this secret in the Woodpecker UI + REPO_NAME: "MarioDB" # Replace with your actual repository name + TAG_NAME: "${CI_COMMIT_REF}" # Use the commit reference (tag name) + ASSET_PATH: "release/main" # Path to the compiled C++ binary when: branch: