add publish configurations
modify public directories