Accepted answer

I finally did a PowerShell script that will replace content in the build artifacts.

All the details can be found there:


I'm not too clued up on react, but your approach is described as "build once, deploy many" and it's a really important aspect of your release process.

The bit you missing is publishing your builds as artifacts which you can then pick up in your release pipeline.

Take a look at the publish artifacts tasks :

Publish each of your environments to separate artifacts and then pick them up in your release pipeline.

Related Query

More Query from same tag