Use PyPI API token for authentification
@@ -99,8 +99,8 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
- user: ${{ secrets.PYPI_USERNAME }}
- password: ${{ secrets.PYPI_PASSWORD }}
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
build-and-deploy-docs:
