Skip to content

Commit 74720c7

Browse files
authored
Update publish-to-test-pypi.yml
1 parent 751d13c commit 74720c7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/publish-to-test-pypi.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1+
name: Publish 🐍 to PyPI on Release
22

3-
on: push
3+
on:
4+
release:
5+
types:
6+
- created # Trigger when a release is created (new or re-created)
7+
8+
permissions:
9+
id-token: write
10+
contents: read
411

512
jobs:
613
build-n-publish:

0 commit comments

Comments
 (0)