Skip to content

Commit

Permalink
Merge pull request #4 from AdamFinkle/enable_github_action_publishing
Browse files Browse the repository at this point in the history
Changed python-publish.yml to enable publishing to PyPI by GitHub Act…
  • Loading branch information
AdamFinkle authored Jun 26, 2024
2 parents 2a02597 + d536d7e commit 79bae9e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
types: [published]

permissions:
contents: read
id-token: write

jobs:
deploy:
Expand All @@ -34,6 +34,3 @@ jobs:
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 79bae9e

Please sign in to comment.