Skip to content

Commit

Permalink
Refine script.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Oct 18, 2023
1 parent 9dffaaf commit d9e8dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auto/build-en-stage0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
fi

yarn &&
yarn cross-env REGION='en-us' BASE_URL='/lts/zh-cn/' \
yarn cross-env REGION='zh-cn' BASE_URL='/lts/zh-cn/' \
SEARCH_HTTPS_HOST=ossrs.io SEARCH_HTTPS_PORT=443 \
SEARCH_HTTP_HOST=ossrs.io SEARCH_HTTP_PORT=80 \
SEARCH_APIKEY=$SEARCH_APIKEY \
Expand Down
2 changes: 1 addition & 1 deletion auto/build-en-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
fi

yarn &&
yarn cross-env REGION='en-us' BASE_URL='/lts/en-us/' \
yarn cross-env REGION='zh-cn' BASE_URL='/lts/en-us/' \
SEARCH_HTTPS_HOST=ossrs.io SEARCH_HTTPS_PORT=443 \
SEARCH_HTTP_HOST=ossrs.io SEARCH_HTTP_PORT=80 \
SEARCH_APIKEY=$SEARCH_APIKEY \
Expand Down

0 comments on commit d9e8dba

Please sign in to comment.