From d7429623a1e28a86ef20d26821f045efd04fa532 Mon Sep 17 00:00:00 2001 From: Mr-Milk Date: Mon, 8 Jan 2024 18:02:34 +0100 Subject: [PATCH] Switch to PYPI TOKEN --- .github/workflows/build.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 90d6c55..5b52ebd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,12 +26,10 @@ jobs: - name: Publish dry run run: poetry publish --dry-run --skip-existing env: - POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + POETRY_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - name: Publish to pypi if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') run: poetry publish --skip-existing env: - POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file + POETRY_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file