Skip to content

Commit

Permalink
fix: update action publisb to tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
LongxingTan committed Jul 2, 2024
1 parent cf0168f commit 2766022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
run: |
poetry publish --username "${{ secrets.PYPI_USERNAME }}" --password "${{ secrets.PYPI_PASSWORD }}"
poetry config pypi-token.pypi {{ secrets.PYPI_TOKEN }}
poetry publish

0 comments on commit 2766022

Please sign in to comment.