I need to access enviroment variables base on branch in piplines. But it is not possible. So need to define step deploy-staging and deploy-production which use the same script.