Skip to content

Commit

Permalink
Add Authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-usman-108 committed May 27, 2024
1 parent 25c787b commit 09becb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Publish to PyPI
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade twine
twine upload dist/*

0 comments on commit 09becb7

Please sign in to comment.