def METHOD_NAME(self, active_project, published_project):
    bucket_name = published_project.project_file_root()
    create_bucket(bucket_name)
    try:
        active_project_path = self._dir_path(active_project.file_root())
        published_project_path = self._dir_path(published_project.file_root())
        GCSObject(active_project_path).cp_dir_content(GCSObject(published_project_path), None)
    except BaseException:
        delete_bucket(bucket_name)
        raise