Skip to content

Commit

Permalink
Merge pull request #26 from prompt-security/use_pypi_api_token_not_pa…
Browse files Browse the repository at this point in the history
…ssword

Use PyPi API TOKEN instead of password in CI/CD
  • Loading branch information
vitaly-ps authored Apr 16, 2024
2 parents 1b7e0bb + 964eab9 commit cd3dc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
- name: Publish package to PyPI
run: twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit cd3dc0b

Please sign in to comment.