Skip to content

Commit 76a54ae

Browse files
authored
Trigger release on published (#199)
`created` event is not emitted when a draft release is published, while `published` event is always emitted with or without a draft release.
1 parent 543b22c commit 76a54ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish
22
on:
33
release:
4-
types: [created]
4+
types: [published]
55
jobs:
66
test:
77
name: Test on ${{ matrix.os }}

0 commit comments

Comments
 (0)