Skip to content

Commit d1c6180

Browse files
authored
Trusted published, not PYPI_TOKEN
1 parent 970f0a9 commit d1c6180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ The `test.yml` GitHub Actions workflow will run your tests automatically any tim
2222

2323
The `publish.yml` Action runs when you create a new GitHub release. It can build and upload your package to [PyPI](https://pypi.org/).
2424

25-
For this to work, you need to create an API token for your PyPI account and add that to your repository as a secret called `PYPI_TOKEN`.
25+
For this to work you need to create an account on PyPI and configure your new GitHub repository as a "trusted publisher".
2626

2727
See [Publishing your library as a package to PyPI](https://github.com/simonw/python-lib#publishing-your-library-as-a-package-to-pypi) for details.

0 commit comments

Comments
 (0)