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: # .woodpecker.yml
- name: test pipeline:
image: alpine build:
image: golang:1.18
commands: commands:
- echo "Woodpecker is working!" - echo "Building the project"
- uname -a - go build -o build/my-app .
release:
image: woodpeckerci/plugin-gitea-release
when: when:
event: event:
- push - tag
- pull_request 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/*