Skip to content

Commit

Permalink
fix poetry publishing
Browse files Browse the repository at this point in the history
use pypi api token
  • Loading branch information
inodb authored Jan 2, 2025
1 parent f8f1cda commit 19873a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:

- name: Publish to PyPI
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: poetry publish --username $PYPI_USERNAME --password $PYPI_PASSWORD --build
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_API_TOKEN
poetry publish --build

0 comments on commit 19873a8

Please sign in to comment.