Skip to content

Commit

Permalink
revise getting/setting/using pypi api token
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Nov 30, 2023
1 parent f4c0ffb commit 7db7fff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:

- name: Build and Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
TEST_PYPI_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry config pypi-token.test-pypi $TEST_PYPI_TOKEN
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry publish --build

0 comments on commit 7db7fff

Please sign in to comment.