Skip to content

Commit

Permalink
fix(ci): pypi publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Dec 29, 2024
1 parent e89fe4c commit d3f0275
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ jobs:
needs: [pre-commit, pytest, check-and-lint]
runs-on: ubuntu-latest
if: github.event_name == 'push'
environment: release
environment:
name: pypi
url: https://pypi.org/p/trame
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
contents: write # IMPORTANT: mandatory for making GitHub Releases
Expand Down

0 comments on commit d3f0275

Please sign in to comment.