Skip to content

Commit

Permalink
[ci] Move to trusted publishers (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed May 7, 2024
1 parent 952b148 commit a20a7f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
needs: [dist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment: pypi
permissions:
id-token: write

steps:
- uses: actions/download-artifact@v4
Expand All @@ -40,5 +43,3 @@ jobs:
path: dist

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

0 comments on commit a20a7f1

Please sign in to comment.