From 2b243cd902f84e33449fa4f33c173030e3365b10 Mon Sep 17 00:00:00 2001 From: Alex Mykyta Date: Sat, 28 Oct 2023 21:16:52 -0700 Subject: [PATCH] Update to use trusted deploy --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a271b3f..f0cf9d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -173,6 +173,9 @@ jobs: - build runs-on: ubuntu-latest + environment: release + permissions: + id-token: write # Only publish when a GitHub Release is created. if: github.event_name == 'release' @@ -183,6 +186,3 @@ jobs: path: dist - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }}