how to configure branches to deploy in production not in preview mode ?

I am using git flow and using workflow to deploy. When i am deploying from main branch it is going to production environment, if deployed from any other branch it shows preview. I need to deploy in production environment from main and as well as branch with prefix release (release/*). I am not able to do that. below is my workflow file. Basically my production deployment branch is main and i need to replace main with wildcard branch called release/**
1 Reply
MD AMIR SOHAIL
MD AMIR SOHAILOP6mo ago
See only deployment from main is going to production rest are in preview but i need those should also deployed to production from branch with prefix release/*
No description
Want results from more Discord servers?
Add your server