Skip to content

Commit

Permalink
Use token for PyPI authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
knifecake committed Apr 2, 2021
1 parent 7d5bbe1 commit df31c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
python3 -m pip install --upgrade build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python3 -m build
twine upload dist/*

0 comments on commit df31c26

Please sign in to comment.