From b70a4e62c1c79c164551e43a06fa887d3094db44 Mon Sep 17 00:00:00 2001 From: hjpotter92 Date: Thu, 24 Jun 2021 18:49:20 +0530 Subject: [PATCH] Update github action hook trigger. The `created` trigger fails for a drafted release. Update the hook to be triggered by `published` event instead of `created`. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee08d04..8579372 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Upload package to pypi on: release: - types: [created] + types: [published] jobs: deploy: