Skip to content

Commit

Permalink
Configure trusted publishing
Browse files Browse the repository at this point in the history
No more manual creation of tokens. Hurrah!

Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Sep 4, 2023
1 parent 0c27a02 commit abd937f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
release:
name: Upload release artifacts
runs-on: ubuntu-latest
permissions:
id-token: write
needs: test
if: github.event_name == 'push'
steps:
Expand All @@ -84,5 +86,3 @@ jobs:
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit abd937f

Please sign in to comment.