Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Oct 31, 2023
1 parent 0943b4e commit a04ce07
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: |
echo "Build build/zh-cn"
docker run --rm -v $(pwd):/git -w /git -e SEARCH_APIKEY=${{ secrets.SEARCH_APIKEY }} \
ossrs/docs:docs-cache bash auto/build-cn-stage0.sh
ossrs/node:18 bash auto/build-cn-stage0.sh
- uses: actions/upload-artifact@v2
with:
name: zh-cn
Expand All @@ -98,7 +98,7 @@ jobs:
run: |
echo "Build build/en-us"
docker run --rm -v $(pwd):/git -w /git -e SEARCH_APIKEY=${{ secrets.SEARCH_APIKEY }} \
ossrs/docs:docs-cache bash auto/build-cn-stage1.sh
ossrs/node:18 bash auto/build-cn-stage1.sh
- uses: actions/upload-artifact@v2
with:
name: en-us
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: |
echo "Build build/zh-cn"
docker run --rm -v $(pwd):/git -w /git -e SEARCH_APIKEY=${{ secrets.SEARCH_APIKEY }} \
ossrs/docs:docs-cache bash auto/build-en-stage0.sh
ossrs/node:18 bash auto/build-en-stage0.sh
- uses: actions/upload-artifact@v2
with:
name: zh-cn
Expand All @@ -108,7 +108,7 @@ jobs:
run: |
echo "Build build/en-us"
docker run --rm -v $(pwd):/git -w /git -e SEARCH_APIKEY=${{ secrets.SEARCH_APIKEY }} \
ossrs/docs:docs-cache bash auto/build-en-stage1.sh
ossrs/node:18 bash auto/build-en-stage1.sh
- uses: actions/upload-artifact@v2
with:
name: en-us
Expand Down
4 changes: 0 additions & 4 deletions auto/build-cn-stage0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
pwd
du -sh *

if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
cp -R /usr/local/srs-docs-cache/srs-docs/node_modules .
fi

yarn &&
yarn cross-env REGION='zh-cn' BASE_URL='/lts/zh-cn/' \
SEARCH_HTTPS_HOST=ossrs.net SEARCH_HTTPS_PORT=443 \
Expand Down
4 changes: 0 additions & 4 deletions auto/build-cn-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
pwd
du -sh *

if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
cp -R /usr/local/srs-docs-cache/srs-docs/node_modules .
fi

yarn &&
yarn cross-env REGION='zh-cn' BASE_URL='/lts/en-us/' \
SEARCH_HTTPS_HOST=ossrs.net SEARCH_HTTPS_PORT=443 \
Expand Down
4 changes: 0 additions & 4 deletions auto/build-en-stage0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
pwd
du -sh *

if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
cp -R /usr/local/srs-docs-cache/srs-docs/node_modules .
fi

yarn &&
yarn cross-env REGION='zh-cn' BASE_URL='/lts/zh-cn/' \
SEARCH_HTTPS_HOST=ossrs.io SEARCH_HTTPS_PORT=443 \
Expand Down
4 changes: 0 additions & 4 deletions auto/build-en-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
pwd
du -sh *

if [[ -d /usr/local/srs-docs-cache/srs-docs ]]; then
cp -R /usr/local/srs-docs-cache/srs-docs/node_modules .
fi

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

0 comments on commit a04ce07

Please sign in to comment.