Refactored build files to extract common Github Pages publishing into parent build file