Make build_doc run only for the first job