Skip to content

Commit

Permalink
✏️ fix api token issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedBabaei committed Dec 5, 2024
1 parent 2bb7602 commit 0cff36c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
- name: Build the package
run: poetry build

- name: Configure Poetry for PyPI
run: |
poetry config pypi-token.pypi ${{ secrets.TWINE_API_TOKEN }}
- name: Publish to PyPI
env:
TWINE_API_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry config pypi-token.pypi $TWINE_API_TOKEN
poetry publish --no-interaction --no-ansi

0 comments on commit 0cff36c

Please sign in to comment.