Skip to content

Commit

Permalink
Migrate to new website.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 20, 2023
1 parent 5d0b1bd commit f56c2d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# SRS_DROPLET_EIP=1.2.3.4
- name: Build droplet variables
run: |
SRS_DROPLET_EIP=$(dig +short lh.ossrs.net)
SRS_DROPLET_EIP=$(dig +short new.ossrs.net)
echo "SRS_DROPLET_EIP=$SRS_DROPLET_EIP" >> $GITHUB_ENV
# The github.ref is, for example, refs/tags/v1.0.52
# Generate variables like:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
# Restart HTTPX
cat << END > /root/restart_docs-httpx.sh
for ((i=0; i < 5; i++)); do
if [[ $(docker ps -f name=docs-httpx |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
if [[ \$(docker ps -f name=docs-httpx |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
docker rm -f docs-httpx; sleep 0.3;
done
docker run -d -it --restart always \
Expand All @@ -222,7 +222,7 @@ jobs:
# Restart SRS docs
cat << END > /root/restart_docs-docs.sh
for ((i=0; i < 5; i++)); do
if [[ $(docker ps -f name=docs-docs |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
if [[ \$(docker ps -f name=docs-docs |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
docker rm -f docs-docs; sleep 0.3;
done
docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/docs:cn-$SRS_MAJOR
Expand All @@ -236,7 +236,7 @@ jobs:
# Restart typesense
cat << END > /root/restart_docs-typesense.sh
for ((i=0; i < 5; i++)); do
if [[ $(docker ps -f name=docs-typesense |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
if [[ \$(docker ps -f name=docs-typesense |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
docker rm -f docs-typesense; sleep 0.3;
done
docker run -d -it --restart always --privileged --name docs-typesense -v /root/search/data:/data -p $SRS_DROPLET_PIP:8108:8108 \
Expand All @@ -247,7 +247,7 @@ jobs:
# Restart search scraper
cat << END > /root/restart_docs-search-scraper.sh
for ((i=0; i < 5; i++)); do
if [[ $(docker ps -f name=docs-search-scraper |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
if [[ \$(docker ps -f name=docs-search-scraper |wc -l) -eq 1 ]]; then echo "Killed"; break; fi;
docker rm -f docs-search-scraper; sleep 0.3;
done
# Replace the BASE_URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ SRS Stack的使用说明,请参考视频[SRS Stack:起步、购买和入门]
* 使用本地LFS文件作为测试源。 v5.8.21
* 开启SRT配置,支持SRT推流。 v5.8.22
* 添加高性能HLS的单元测试用例。 v5.8.23
* 迁移文档到新站点。 v5.8.23
* 2023.08.13, v1.0.305, v5.7.19
* 优化DigitalOcean droplet镜像。v1.0.302
* 支持本地测试所有脚本。v1.0.302
Expand Down
1 change: 1 addition & 0 deletions src/pages/faq-srs-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ The following are the update records for the SRS Stack server.
* Add lfs mp4 samples for test. v5.8.21
* SRT: Enable srt in default vhost. v5.8.22
* Add utest for HP HLS. v5.8.23
* Migrate docs to new website. v5.8.23
* 2023.08.13, v1.0.305, v5.7.19
* Refine DigitalOcean droplet image. v1.0.302
* Support local test all script. v1.0.302
Expand Down

0 comments on commit f56c2d2

Please sign in to comment.