From df31c26fa89bdf49493614ed6b60eef30195af99 Mon Sep 17 00:00:00 2001 From: Elias Hernandis Date: Fri, 2 Apr 2021 19:18:28 +0200 Subject: [PATCH] Use token for PyPI authentication --- .github/workflows/python-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6b27677..7c4dd72 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -24,8 +24,8 @@ jobs: python3 -m pip install --upgrade build twine - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python3 -m build twine upload dist/*