From 74a444f2f584769d90849c29aca5f5c0de676f3f Mon Sep 17 00:00:00 2001 From: Adrien Guinet Date: Mon, 1 Apr 2024 15:45:27 +0200 Subject: [PATCH] pip release: use tokens --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc01936..e6625b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,11 +36,13 @@ jobs: python ./setup.py bdist_wheel - name: Publish to Pypi env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_USERNAME: "__token__" TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | echo cli/dist/* api/dist/* webapp/dist/* - twine upload cli/dist/* api/dist/* webapp/dist/* + TWINE_PASSWORD='${{ secrets.PYPI_SECSEND }}' twine upload cli/dist/* + TWINE_PASSWORD='${{ secrets.PYPI_SECSEND_API }}' twine upload api/dist/* + TWINE_PASSWORD='${{ secrets.PYPI_SECSEND_WEBAPP }}' twine upload webapp/dist/* publish_docker: