From 971bb0ebea24f5fc9b01c45b40a6f64797a724df Mon Sep 17 00:00:00 2001 From: nyosic Date: Fri, 4 Apr 2025 12:32:55 +0000 Subject: [PATCH] Update .woodpecker/default.yml --- .woodpecker/default.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.woodpecker/default.yml b/.woodpecker/default.yml index d25400e..d30ef0e 100644 --- a/.woodpecker/default.yml +++ b/.woodpecker/default.yml @@ -1,19 +1,19 @@ # .woodpecker.yml -pipeline: - build: +steps: + - name: Build the project image: golang:1.18 commands: - echo "Building the project" - go build -o build/my-app . - release: + - name: Release to Gitea image: woodpeckerci/plugin-gitea-release when: event: - - tag + - tag # Trigger this step only on tags 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/* + - GITEA_TOKEN=${GITEA_TOKEN} # Ensure this is set in your Woodpecker secrets + - REPO_NAME=MarioDB # Your repository name + - TAG_NAME=${CI_COMMIT_REF} # Use the current commit ref (which is the tag name in this case) + - ASSET_PATH=build/* # Path to your build artifacts