From 92fac9b1ebf0753f8d74ce7289fcfdf2cd8ef59e Mon Sep 17 00:00:00 2001 From: kba Date: Thu, 9 Jan 2025 15:11:31 +0100 Subject: [PATCH] CI: Use token authentication for pypi --- .github/workflows/publish-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index e811c958a..1b0e85e60 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -26,6 +26,6 @@ jobs: pip install -r requirements.txt - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: make pypi