Hugo update baseUrl per environment

his post can help you.