mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix OIDC token payload
This commit is contained in:
parent
1a403e4f9a
commit
21fbee5e83
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
@ -51,7 +51,7 @@ jobs:
|
||||
// exchange the OIDC token for an API token
|
||||
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
|
||||
method: 'post',
|
||||
body: '{"token": oidc_token}' ,
|
||||
body: `{"token": "${oidc_token}"}` ,
|
||||
headers: {'Content-Type': 'application/json'},
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user