From b8ef7c829a7e52e08873b1c1543dac3f6164bf2c Mon Sep 17 00:00:00 2001 From: Nik Vaessen Date: Sat, 3 Sep 2022 12:36:35 +0200 Subject: [PATCH] update publish workflow --- .github/workflows/pythonpublish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index e9ea0f0..3f14b98 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -27,7 +27,7 @@ jobs: poetry install - name: Build and publish env: - PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} + POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }} run: | - poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD \ No newline at end of file + poetry publish --build \ No newline at end of file