Nikhilesh24 you are not replacing your dev references with the prod database references.
- You need to replace existing ARM template parameters
- If the Dev Db references are not parameterized (not existing in the ARM template), you need make a custom parameter template and place it in your collaboration branch path where your code is saved. Link : Custom parameters in a Resource Manager template - Azure Data Factory | Microsoft Learn. We need to include this json configuration file in the main branch at root folder configured in Git configuration, let us consider we keep it in 'src/DataFactory/{DataFactoryName}/arm-template-parameters-definition.json' like I said it in the blog. After you publish, the parameters will get published. Then replace the parameters with the prod database connection strings or references.