python-project-template icon indicating copy to clipboard operation
python-project-template copied to clipboard

updates to the documentation

Open biprateep opened this issue 10 months ago • 2 comments

Faced this issue while deploying a package, so thought it will be better to be explicit about this in the documentation for setting up PyPi (https://lincc-ppt.readthedocs.io/en/latest/practices/pypi.html). When creating a PyPI trusted publisher, there is a field name "Environment Name" which is optional and the website uses the environment name "release" in their demo. It turns out that it is better to leave that field empty rather than putting any random name over there. If empty PyPi does not care but if given a name, it has to match the environment that runs the action. It will be good to mention that in the documentation explicitly. i.e. leave the field name empty or use "XXXX" as the environment name.

biprateep avatar Apr 13 '24 16:04 biprateep