Skip to content

Commit

Permalink
Update github action hook trigger.
Browse files Browse the repository at this point in the history
The `created` trigger fails for a drafted release. Update the hook
to be triggered by `published` event instead of `created`.
  • Loading branch information
hjpotter92 committed Jun 24, 2021
1 parent 8b9d01f commit b70a4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Upload package to pypi

on:
release:
types: [created]
types: [published]

jobs:
deploy:
Expand Down

0 comments on commit b70a4e6

Please sign in to comment.