Some docs here https://docs.pypi.org/trusted-publishers/
Some docs here https://docs.pypi.org/trusted-publishers/