Update .woodpecker/default.yml

This commit is contained in:
nyosic 2025-04-04 12:32:00 +00:00
parent 2177311d64
commit c6286c7c3e

View file

@ -1,11 +1,19 @@
steps:
- name: test
image: alpine
# .woodpecker.yml
pipeline:
build:
image: golang:1.18
commands:
- echo "Woodpecker is working!"
- uname -a
- echo "Building the project"
- go build -o build/my-app .
when:
release:
image: woodpeckerci/plugin-gitea-release
when:
event:
- push
- pull_request
- tag
environment:
- GITEA_URL=https://git.xyro.win
- GITEA_TOKEN=${GITEA_TOKEN} # Make sure to set this in the Woodpecker secrets
- REPO_NAME=MarioDB
- TAG_NAME=${CI_COMMIT_REF} # Use the tag name
- ASSET_PATH=build/*