Skip to content

Commit

Permalink
Merge pull request #232 from IPGP/PierreS-alpha-patch-1
Browse files Browse the repository at this point in the history
Update python-publish.yml correct token
  • Loading branch information
PierreS-alpha authored Dec 28, 2024
2 parents 5c6ef03 + e3a6425 commit 834cc63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- release-build
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: ${{ secrets.PYPITOKENB }}
id-token: write

# Dedicated environments with protections for publishing are strongly recommended.
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
Expand All @@ -76,3 +76,5 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
env:
PYPI_TOKEN: ${{ secrets.PYPITOKENB }}

0 comments on commit 834cc63

Please sign in to comment.