Help for Azure Pipeline Configuration
Budget: $10 – $30 USD
I have a .net core app and CI/CD pipelines on Azure DevOps. And I need someone to help me for configuring release pipeline for how to change appsettings.json (or replace with another appsetting file) based on what stage we are deploying to.
Lets say, we have to stage servers. UAT and Production server.
Example solution can be;
and there are 2 appsettings file; appsettingsUAT.json, appsettingsPROD.json
if we deploy to UAT, then remove appsettingsPROD.json file
and rename appsettingsUAT.json to appsettings.json
similar for Production. Or you can advise alternative ways. Can be acceptable.
i tried to do that with command line, worked on local but failed on azure. Probably this is sth simple for you. Please see attached images
Lets say, we have to stage servers. UAT and Production server.
Example solution can be;
and there are 2 appsettings file; appsettingsUAT.json, appsettingsPROD.json
if we deploy to UAT, then remove appsettingsPROD.json file
and rename appsettingsUAT.json to appsettings.json
similar for Production. Or you can advise alternative ways. Can be acceptable.
i tried to do that with command line, worked on local but failed on azure. Probably this is sth simple for you. Please see attached images