Skip to content

Commit ab063b3

Browse files
committed
ci(workflow): restrict crate publication trigger to new releases
1 parent 29a7ae8 commit ab063b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Publish
22

33
on:
4-
push:
5-
branches: [main]
6-
tags: ["v*"]
4+
release:
5+
types: [published]
76

87
concurrency:
98
group: publish-${{ github.ref }}

0 commit comments

Comments
 (0)