Update .woodpecker/default.yml
Some checks failed
ci/woodpecker/push/default Pipeline failed

This commit is contained in:
nyosic 2025-04-04 12:42:40 +00:00
parent 971bb0ebea
commit fe5ed97114

View file

@ -2,6 +2,8 @@
steps: steps:
- name: Build the project - name: Build the project
image: golang:1.18 image: golang:1.18
environment:
CI: true
commands: commands:
- echo "Building the project" - echo "Building the project"
- go build -o build/my-app . - go build -o build/my-app .
@ -12,8 +14,8 @@ steps:
event: event:
- tag # Trigger this step only on tags - tag # Trigger this step only on tags
environment: environment:
- GITEA_URL=https://git.xyro.win GITEA_URL: "https://git.xyro.win" # Gitea URL
- GITEA_TOKEN=${GITEA_TOKEN} # Ensure this is set in your Woodpecker secrets GITEA_TOKEN: "${GITEA_TOKEN}" # Gitea API token stored as a secret
- REPO_NAME=MarioDB # Your repository name REPO_NAME: "MarioDB" # Your repository name
- TAG_NAME=${CI_COMMIT_REF} # Use the current commit ref (which is the tag name in this case) TAG_NAME: "${CI_COMMIT_REF}" # Tag name (commit reference)
- ASSET_PATH=build/* # Path to your build artifacts ASSET_PATH: "build/*" # Path to your build artifacts