Skip to content

Commit

Permalink
using trusted publisher instead of token
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Nov 6, 2024
1 parent ca69493 commit 159adca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
deploy:

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

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

0 comments on commit 159adca

Please sign in to comment.