Rename a Test PyPI secret

This commit is contained in:
Sviatoslav Sydorenko 2019-09-15 15:24:35 +02:00
parent 32324e5beb
commit 0f45ea95d8
No known key found for this signature in database
GPG key ID: 9345E8FEA89CA455

View file

@ -65,13 +65,17 @@ The later is possible if you use `setuptools_scm` package but
you could also invent your own solution based on the distance
to the latest tagged commit.
Please notice that you'll need to create another token for a
separate host and then [save it as a GitHub repo
secret][Creating & using secrets].
The action invocation in this case would look like:
```yml
- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
```