From 773a81beac61e5106eb82a06135b218f78afdc7e Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Tue, 8 Feb 2022 11:16:19 -0600 Subject: [PATCH] Update CD logic --- .github/workflows/npmpublish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npmpublish.yaml b/.github/workflows/npmpublish.yaml index 5eb0b92..0df1271 100644 --- a/.github/workflows/npmpublish.yaml +++ b/.github/workflows/npmpublish.yaml @@ -3,9 +3,9 @@ name: npm on: # Allow manual workflow_dispatch: - push: - tags: - - "v*" + # use publish even so when goes from draft -> released + release: + types: [published] jobs: publish: