Skip to content

Commit 0ce2054

Browse files
committed
ci(distribute): change release event type from 'released' and 'prereleased' to 'published'
From docs: > The prereleased type will not trigger for pre-releases published from draft releases, but the published type will trigger. If you want a workflow to run when stable and pre-releases publish, subscribe to published instead of released and prereleased.
1 parent 340a7fa commit 0ce2054

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/distribute.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Distribute
33
on:
44
release:
55
types:
6-
- released
7-
- prereleased
6+
- published
87

98
jobs:
109
package:

0 commit comments

Comments
 (0)