Skip to content

Commit

Permalink
Add token names for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
philbull committed Jul 29, 2021
1 parent 2130901 commit d8a63b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: ${{ !contains(github.ref, 'main') }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
# deploy to actual PyPI only when a tag is pushed to main
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit d8a63b7

Please sign in to comment.