File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Develop Docs
2
+ on :
3
+ push :
4
+ branches : # 设置更新哪个分支会更新站点
5
+ - release/3.1
6
+ permissions :
7
+ contents : write
8
+ jobs :
9
+ deploy :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Configure Git Credentials
14
+ run : |
15
+ git config user.name github-actions[bot]
16
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17
+ - uses : actions/setup-python@v5
18
+ with :
19
+ python-version : 3.x
20
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21
+ - uses : actions/cache@v4
22
+ with :
23
+ key : mkdocs-material-${{ env.cache_id }}
24
+ path : .cache
25
+ restore-keys : |
26
+ mkdocs-material-
27
+ - run : pip install mike mkdocs-material jieba mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin mkdocs-static-i18n mkdocs-minify-plugin
28
+ - run : |
29
+ git fetch origin gh-pages --depth=1
30
+ mike deploy --push --update-aliases 3.1 latest
31
+ mike set-default --push latest
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ plugins:
242
242
FAQ : FAQ
243
243
近期更新 : Recently Update
244
244
repository : PaddlePaddle/PaddleX # 仓库名称
245
- branch : release/3.0-rc1 # 仓库分支
245
+ branch : release/3.1 # 仓库分支
246
246
- git-revision-date-localized : # 显示更新时间
247
247
enable_creation_date : true
248
248
Original file line number Diff line number Diff line change 1
- 3.1.0
1
+ 3.1.2
You can’t perform that action at this time.
0 commit comments