Skip to content

Commit 286334f

Browse files
committed
ci: fix pypi publishing
1 parent b35a744 commit 286334f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI
1111
on:
1212
release:
1313
types: [published]
14+
pull_requests:
1415

1516
permissions:
1617
contents: read
@@ -33,8 +34,10 @@ jobs:
3334
- name: Build package
3435
run: |
3536
python -m build --sdist --wheel --outdir dist/ .
37+
3638
- name: Publish package
3739
uses: pypa/[email protected]
3840
with:
3941
user: __token__
40-
password: ${{ secrets.PYPI_API_TOKEN }}
42+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
43+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)