Skip to content

Commit

Permalink
Trusted published, not PYPI_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Mar 21, 2024
1 parent 970f0a9 commit d1c6180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ The `test.yml` GitHub Actions workflow will run your tests automatically any tim

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

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`.
For this to work you need to create an account on PyPI and configure your new GitHub repository as a "trusted publisher".

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 comments on commit d1c6180

Please sign in to comment.