Only upload docs if the build succeeded
foo
Revert "foo"

This reverts commit 380cc3a214bf230acaeae33d447532dd55e99fff.
ff