Skip to content

Commit

Permalink
apacheGH-37858: [Docs][JS] Fix check of remote URL to generate JS docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Sep 26, 2023
1 parent cc51e68 commit 1b7b52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/js_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ yarn lint:ci
yarn build

if [ "${BUILD_DOCS_JS}" == "ON" ]; then
if [ "$(git config --get remote.origin.url)" == "https://github.com/apache/arrow.git" ]; then
if [[ "$(git config --get remote.origin.url)" =~ "https://github.com/apache/arrow" ]]; then
yarn doc
elif [ "$(git config --get remote.upstream.url)" == "https://github.com/apache/arrow.git" ]; then
elif [[ "$(git config --get remote.upstream.url)" =~ "https://github.com/apache/arrow" ]]; then
yarn doc --gitRemote upstream
elif [ "$(git config --get remote.apache.url)" == "[email protected]:apache/arrow.git" ]; then
yarn doc --gitRemote apache
Expand Down

0 comments on commit 1b7b52a

Please sign in to comment.