diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 1a03a7b..30c52c0 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -24,8 +24,7 @@ jobs: pip install setuptools wheel twine - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: ${{ secrets.PYPI_APITOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/*