Only upload docs on success