Skip to content

Commit

Permalink
rename-v3.2.0-huizhi-v3.2.0e-beta (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Jul 21, 2022
1 parent d36bb53 commit 8e187f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- v3.2.0-huizhi
- v3.2.0e-beta

jobs:
deploy:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: mike
run: |
git fetch origin gh-pages --depth=1 # fix mike's CI update
mike deploy 3.2.0-huizhi -p --rebase
mike deploy 3.2.0e-beta -p --rebase
mike list
- name: show git branch
Expand All @@ -37,8 +37,8 @@ jobs:
git checkout gh-pages
- name: Compress
run: |
sed -i 's/{\"version\": \"3.2.0-huizhi\", \"title": "3.2.0-huizhi\", \"aliases\": \[\]},//g' versions.json
tar -vczf nebula-docs.tar.gz 3.2.0-huizhi versions.json *.html
sed -i 's/{\"version\": \"3.2.0e-beta\", \"title": "3.2.0e-beta\", \"aliases\": \[\]},//g' versions.json
tar -vczf nebula-docs.tar.gz 3.2.0e-beta versions.json *.html
# not public this branch; but push to web service
- name: Transfer
Expand All @@ -62,7 +62,7 @@ jobs:
mkdir -p /usr/web/nebula-docs/
tar -xzf /usr/web/nebula-docs.tar.gz -C /usr/web/nebula-docs/
mkdir -p /usr/web/nebula-docs/site/pdf/
cp -f /usr/web/nebula-docs/3.2.0-huizhi/pdf/NebulaGraph-CN.pdf /usr/web/nebula-docs/site/pdf/NebulaGraph-book.pdf
cp -f /usr/web/nebula-docs/3.2.0e-beta/pdf/NebulaGraph-CN.pdf /usr/web/nebula-docs/site/pdf/NebulaGraph-book.pdf
# pip3 install --upgrade pip
# pip3 install -r /usr/web/nebula-docs/requirement.txt
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ docs_dir: docs-2.0
copyright: Copyright © 2022 Nebula Graph - 浙ICP备20010487号

# modify when release:
edit_uri: 'edit/v3.2.0-huizhi/docs-2.0/'
edit_uri: 'edit/v3.2.0e-beta/docs-2.0/'

# Configuration
theme:
Expand Down Expand Up @@ -102,7 +102,7 @@ plugins:
# modify when release:
- with-pdf:
copyright: 2022 vesoft Inc.
cover_subtitle: v3.2.0-huizhi
cover_subtitle: v3.2.0e-beta
author: 吴敏,周瑶,梁振亚,杨怡璇,黄凤仙
cover: true
back_cover: true
Expand Down

0 comments on commit 8e187f4

Please sign in to comment.