Skip to content

Commit cd3dc0b

Browse files
authored
Merge pull request #26 from prompt-security/use_pypi_api_token_not_password
Use PyPi API TOKEN instead of password in CI/CD
2 parents 1b7e0bb + 964eab9 commit cd3dc0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
- name: Publish package to PyPI
4242
run: twine upload dist/*
4343
env:
44-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
45-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
44+
TWINE_USERNAME: __token__
45+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)