From a586a78f6af0728456639e616aad232364f2a7d8 Mon Sep 17 00:00:00 2001 From: Stephan Grein Date: Tue, 29 Oct 2024 16:42:28 +0100 Subject: [PATCH] Update deploy.yml According to docs username must be __token__ when using API token: https://pypi.org/help/#invalid-auth --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 202ab363..a1d0d12e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel