Skip to content

Commit

Permalink
GitHub workflow: publish to PyPI (not TestPyPI)
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Feb 3, 2021
1 parent 33bc53a commit 3257637
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,5 +345,4 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
TESTPYPI_TOKEN: ${{ secrets.TESTPYPI_TOKEN }}
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --build --repository testpypi --username __token__ --password "$TESTPYPI_TOKEN"
poetry publish --build --username __token__ --password "$PYPI_TOKEN"

0 comments on commit 3257637

Please sign in to comment.