Skip to content

Commit b071f50

Browse files
author
github-actions
committed
ci: used token instead of username and password
1 parent fa7e9dc commit b071f50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626

2727
- name: Build and publish
2828
env:
29-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
30-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29+
TWINE_USERNAME: __token__
30+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3131
run: |
3232
python setup.py sdist bdist_wheel
3333
twine upload dist/*

0 commit comments

Comments
 (0)