Skip to content

Commit fcc975b

Browse files
committed
CI: Run PyPI publish only when tagging repository
1 parent a7c92f3 commit fcc975b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish
22

33
on:
4-
54
push:
5+
tags:
6+
- '*.*.*'
67

78
# Allow job to be triggered manually.
89
workflow_dispatch:

0 commit comments

Comments
 (0)