Check test result and branch before publishing the API docs.