Only upload docs if the build succeeded