Commit f2c0b8f
committed
ci: wire deploy to PyPI trusted publishing via pypi environment
The deploy job was trying to publish with password=${{ secrets.PYPI_API_TOKEN }},
but the repo has no API token secret — only the pypi GitHub environment,
which is the convention for OIDC trusted publishing. The job lacked
environment: pypi and id-token: write, so OIDC token retrieval failed.
Removed the password input so the action uses trusted publishing.1 parent d267980 commit f2c0b8f
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
146 | | - | |
147 | | - | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
0 commit comments