MarioDB/.woodpecker/default.yml
nyosic fe5ed97114
Some checks failed
ci/woodpecker/push/default Pipeline failed
Update .woodpecker/default.yml
2025-04-04 12:42:40 +00:00

21 lines
658 B
YAML

# .woodpecker.yml
steps:
- name: Build the project
image: golang:1.18
environment:
CI: true
commands:
- echo "Building the project"
- go build -o build/my-app .
- name: Release to Gitea
image: woodpeckerci/plugin-gitea-release
when:
event:
- tag # Trigger this step only on tags
environment:
GITEA_URL: "https://git.xyro.win" # Gitea URL
GITEA_TOKEN: "${GITEA_TOKEN}" # Gitea API token stored as a secret
REPO_NAME: "MarioDB" # Your repository name
TAG_NAME: "${CI_COMMIT_REF}" # Tag name (commit reference)
ASSET_PATH: "build/*" # Path to your build artifacts