Skip to content

Commit

Permalink
Use Trusted Publishers to publish to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Aug 14, 2023
1 parent d9884b0 commit 322f81d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
environment: publish-pypi
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand All @@ -19,5 +22,3 @@ jobs:

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 322f81d

Please sign in to comment.