Skip to content

Commit

Permalink
Configure trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Jan 22, 2025
1 parent 3b1ef73 commit 8c8c44f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && !github.event.repository.fork
needs: [lint, test]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -76,6 +78,3 @@ jobs:
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 8c8c44f

Please sign in to comment.