added a check so that publish to nexus works only for releases to named environments
added a check so that publish to nexus works only for releases to named environments

InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service