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: