Skip to content

Commit 95d5c1d

Browse files
committed
Authorize publishing to pypi manually
1 parent 59b9f47 commit 95d5c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
with:
173173
subject-path: 'wheels-*/*'
174174
- name: Publish to PyPI
175-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
175+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
176176
uses: PyO3/maturin-action@v1
177177
env:
178178
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)