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
|
# Step 3: Upload Release Artifact
|
||||||
- name: release
|
- name: release
|
||||||
image: woodpeckerci/release:latest
|
image: woodpeckerci/plugin-gitea-release
|
||||||
settings:
|
environment:
|
||||||
api_key: ${GITEA_TOKEN} # Set your API key (GitHub, GitLab, etc.)
|
GITEA_URL: "https://git.xyro.win"
|
||||||
target: 'MarioDB' # Replace with your project's name
|
GITEA_TOKEN: "${GITEA_TOKEN}" # Make sure to set this secret in the Woodpecker UI
|
||||||
files:
|
REPO_NAME: "MarioDB" # Replace with your actual repository name
|
||||||
- release/main # Replace with your actual binary name
|
TAG_NAME: "${CI_COMMIT_REF}" # Use the commit reference (tag name)
|
||||||
|
ASSET_PATH: "release/main" # Path to the compiled C++ binary
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue