Skip to content

Commit

Permalink
github: change release trigger
Browse files Browse the repository at this point in the history
Using the published trigger is more robust than the created trigger.
It allows triggering the workflow from a draft (helpful when a release
upload fails and you have to do it over again).
  • Loading branch information
dlech committed Jan 10, 2022
1 parent 3f9aac9 commit b7dd42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Upload Python Package

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

jobs:
deploy:
Expand Down

0 comments on commit b7dd42d

Please sign in to comment.