Skip to content

Commit d3c3545

Browse files
Fix test publish workflow to trigger on release
1 parent 99ed23d commit d3c3545

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/testpublish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Publish to TestPyPI
22

33
on:
4-
#workflow_dispatch: # allows the workflow to be triggered manually
5-
push:
6-
branches:
7-
- pydi/publish-package
4+
release:
5+
types: [published]
86

97
permissions:
108
contents: read

0 commit comments

Comments
 (0)