code: function setEnvironments (config) {
    environments.environments = config.environments || {}
    environments.envId = getEnvId(config)
    environments.ENVID = environments.envId ? environments.envId.toUpperCase() : undefined
    environments.environmentTypes = environments.environments.static || keys(config)
    environments.environmentType = _.includes(environments.environmentTypes, environments.envId) ? environments.envId : environments.environments.default
  }
docs: console.log('EnvId from Branch:', getEnvIdFromBranch()) 
  Set config environments
  
  @param {any} obj
  @returns