This commit is contained in:
parent
88335c518c
commit
db567849bf
1 changed files with 7 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue