From 49b83c445e59d7dd5f4e18792778a87fad3c0cc9 Mon Sep 17 00:00:00 2001 From: Peter Sharpe Date: Fri, 8 Dec 2023 10:58:27 -0500 Subject: [PATCH] use API token instead of user/pass --- .github/workflows/publish-on-master-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-on-master-push.yml b/.github/workflows/publish-on-master-push.yml index a5f69d0..4991033 100644 --- a/.github/workflows/publish-on-master-push.yml +++ b/.github/workflows/publish-on-master-push.yml @@ -24,8 +24,8 @@ jobs: pip install setuptools wheel twine - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/*