mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-09 10:23:35 -05:00
Rename a Test PyPI secret
This commit is contained in:
parent
32324e5beb
commit
0f45ea95d8
1 changed files with 5 additions and 1 deletions
|
@ -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
|
you could also invent your own solution based on the distance
|
||||||
to the latest tagged commit.
|
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:
|
The action invocation in this case would look like:
|
||||||
```yml
|
```yml
|
||||||
- name: Publish package to Test PyPI
|
- name: Publish package to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.pypi_password }}
|
password: ${{ secrets.test_pypi_password }}
|
||||||
repository_url: https://test.pypi.org/legacy/
|
repository_url: https://test.pypi.org/legacy/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue