From b7efd1194ff06e04d06a5033e359123a5e309cc3 Mon Sep 17 00:00:00 2001 From: Porimol Chandro Date: Mon, 28 Oct 2024 02:10:21 +0100 Subject: [PATCH] github actions pypi token add --- .github/workflows/pypi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3d63364..c3fa0a1 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -48,6 +48,8 @@ jobs: path: dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} github-release: name: >- @@ -115,4 +117,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ - password: ${{ secrets.TEST_PYPI }} + password: ${{ secrets.TEST_PYPI_API_TOKEN }}