Skip to content

Commit f2ac129

Browse files
authored
uses token for publish (#77)
1 parent dec1033 commit f2ac129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
pip install setuptools wheel twine
2525
- name: Build and publish
2626
env:
27-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
27+
TWINE_USERNAME: ${{ secrets.PYPI_API_USERNAME }}
28+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2929
run: |
3030
python setup.py sdist bdist_wheel
3131
twine upload dist/*

0 commit comments

Comments
 (0)