mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use the correct token minting URL for TestPyPI
This commit is contained in:
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
const oidc_token = (await oidc_resp.json()).value;
|
||||
|
||||
// exchange the OIDC token for an API token
|
||||
const mint_resp = await fetch('https://pypi.org/_/oidc/github/mint-token', {
|
||||
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
|
||||
method: 'post',
|
||||
body: '{"token": "oidc_token"}' ,
|
||||
headers: {'Content-Type': 'application/json'},
|
||||
|
||||
Reference in New Issue
Block a user