Add function to prune build summary page