diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e66f019..26cdefb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,9 +6,10 @@ name: CI/CD on: push: branches: [main, master, develop] - tags: ['v*'] pull_request: branches: [main, master] + release: + types: [published] jobs: test: @@ -63,7 +64,7 @@ jobs: name: Build & Release runs-on: ubuntu-latest needs: [test, lint] - if: startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'release' container: image: golang:1.24-bookworm steps: