Skip to content

Commit 3d1dda6

Browse files
authored
update for 3.1.2 (#4338)
1 parent 56c2af4 commit 3d1dda6

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/workflows/deploy_docs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ plugins:
242242
FAQ: FAQ
243243
近期更新: Recently Update
244244
repository: PaddlePaddle/PaddleX #仓库名称
245-
branch: release/3.0-rc1 #仓库分支
245+
branch: release/3.1 #仓库分支
246246
- git-revision-date-localized: #显示更新时间
247247
enable_creation_date: true
248248

paddlex/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.1.2

0 commit comments

Comments
 (0)