Skip to content

Commit

Permalink
workflows: Run "publish" when a release is published
Browse files Browse the repository at this point in the history
We want the package to be published when the release is published, not
when it is created.

As workflows are not triggers on draft releases, if a release is first
saved as a draft, the workflow would not be triggered with "created".
  • Loading branch information
bertrand-lorentz committed Jul 17, 2023
1 parent 2d89a89 commit be0d4c8
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 @@ -5,7 +5,7 @@ on:
- 'develop'

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

# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit be0d4c8

Please sign in to comment.