Deployling preview build with production ENVs

Hello! I have a need to build a preview branch using production environment variables. For example if a branch name starts with "release/*" I want it to create a preview link built with production environment variables. How can this be achieved? Is it possible?
Was this page helpful?