Skip to content

Commit

Permalink
ci: use trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Jan 19, 2024
1 parent b0946b0 commit 98bc087
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
env:
ENV_NAME: publish
PYTHON: "3.10"
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@main
with:
Expand All @@ -30,6 +32,3 @@ jobs:
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 98bc087

Please sign in to comment.