Skip to content

Commit

Permalink
Switch to Trusted Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyfran authored Jul 12, 2024
1 parent 97e53ee commit c597b2a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest
environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
Expand All @@ -26,6 +28,3 @@ jobs:
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit c597b2a

Please sign in to comment.