Skip to content

Commit

Permalink
feat(ci): Enable manual release workflow to publish to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
ducdetronquito committed Oct 14, 2024
1 parent 0362977 commit 3a472de
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
- name: See whats have been build
run: ls -al pyright_alright/pyright/dist

# - name: Publish on PyPI
# run: poetry run twine upload dist/*
# env:
# TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
- name: Publish on PyPI
run: |
poetry config pypi-token.pypi ${{ secrets.TWINE_PASSWORD }}
poetry publish

0 comments on commit 3a472de

Please sign in to comment.