kou commented on a change in pull request #11728:
URL: https://github.com/apache/arrow/pull/11728#discussion_r751621240



##########
File path: ci/scripts/js_build.sh
##########
@@ -30,7 +30,14 @@ yarn lint:ci
 yarn build
 
 if [ "${with_docs}" == "true" ]; then
-  yarn doc
+  if [ $(git config --get remote.origin.url) == 
"https://github.com/apache/arrow.git"; ]; then
+    yarn doc
+  elif [ $(git config --get remote.upstream.url) == 
"https://github.com/apache/arrow.git"; ]; then
+    yarn doc --gitRemote upstream

Review comment:
       Could you also add `apache` case?
   
   ```shell
     elif [ $(git config --get remote.apache.url) == 
"https://github.com/apache/arrow.git"; ]; then
       yarn doc --gitRemote apache
   ```
   
   We're using `apache` in our release document: 
https://cwiki.apache.org/confluence/display/ARROW/Release+Management+Guide




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to