Skip to content

Commit

Permalink
Use API Token while Trusted Publishing is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
lhendrick-t10 committed Jan 5, 2024
1 parent 4ba23f9 commit c4695a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
pipenv run test
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
echo "Deploying awsume"
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit c4695a5

Please sign in to comment.