Only upload docs for CI build and not pull requests (GH-6945)

1 file changed