Skip to content

Commit

Permalink
Use pypi token auth to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
joancipria committed Jan 23, 2025
1 parent f138411 commit 77bdae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:

- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade twine
twine upload ./dist/*

0 comments on commit 77bdae5

Please sign in to comment.