From 31f0642847329c5491e189cc80e796f9b5e4b1ea Mon Sep 17 00:00:00 2001 From: Richard Weston Date: Tue, 27 Jul 2021 13:53:44 +0100 Subject: [PATCH] refactor: Change logic to only trigger on a tag --- .github/workflows/cd.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1004d4f..617fb27 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,7 +1,10 @@ --- name: goreleaser -on: [pull_request, push] +on: + push: + tags: + - "*" jobs: goreleaser: