I have a geoprocessing script written in Python that includes a main file, several .py files, and a config.json file. I want to publish it as a geoprocessing service in ArcGIS Enterprise 10.9.1.
In ArcGIS Pro, I set up a new script in the default toolbox, ran it, and published it as a geoprocessing service. However, when I tried to use it, I noticed that while the .py files were uploaded to the server's service directory, the config.json file was not included.
Is there any way to ensure the config.json file is uploaded so the service can access it without having to manually copy and paste it?