Skip to content

Commit

Permalink
simplifying publish call
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed May 14, 2021
1 parent a44a971 commit 134b68e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
poetry-version: "1.1.6"
- name: publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
poetry build
poetry upload
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --build

0 comments on commit 134b68e

Please sign in to comment.