Skip to content

Commit

Permalink
[workflows\publish_to_pypi] Publish to PyPI with a trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Sep 27, 2024
1 parent 7560a93 commit 09df9dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
publish-to-pypi:
name: Publish Package to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/FontCollector
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -27,5 +32,3 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 09df9dc

Please sign in to comment.