Skip to content

Commit

Permalink
Merge pull request #16 from cryptlex/ahmad/update-ci
Browse files Browse the repository at this point in the history
ci: used token instead of username and password
  • Loading branch information
ahmad-kemsan authored Jul 25, 2024
2 parents fa7e9dc + b071f50 commit 1cd54fc
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 @@ -26,8 +26,8 @@ jobs:

- 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: |
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 1cd54fc

Please sign in to comment.