Skip to content

Commit

Permalink
Update to use trusted deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Oct 29, 2023
1 parent b1c8215 commit 2b243cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -183,6 +186,3 @@ jobs:
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 2b243cd

Please sign in to comment.