Join Nostr
2024-10-26 19:57:24 UTC

adamghill on Nostr: The trusted publishing workflow on #PyPI is pretty magical! 🪄 Now every time I ...

The trusted publishing workflow on #PyPI is pretty magical! 🪄

Now every time I create a release in #GitHub, it will be published to #PyPI automatically -- no more manual building and publishing from my local dev box.

Steps:
🔐 Set up a trusted publisher for your package on PyPI and test PyPI
📃 Add a GitHub Action workflow like https://github.com/adamghill/dj-angles/blob/main/.github/workflows/publish.yml
🧠 Bask in the knowledge of automating a previously manual process

Next up: move all my other #Python projects to a similar setup.