Set certain environment variables when synchronize repositories.