Hi,
I created a React app from the ASP.net core 2.2 template and created a continuous delivery pipeline in Teamcity which deploys the app “Development” environment. I have 3 build steps in my Teamcity build configuration,
- dotnet publish
- Octopack package
- Deploy
Running dotnet publish builds the react app in production mode (basically runs npm build as part of it). I have some environment-specific variables in reactjs code. Basically different variables for Development, Staging and Production. So, my question is how can I change these environment variables when deploying the app to different environments in octopus?