mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-19 01:09:49 +08:00
494 doc (#4472)
* perf: remove loading ui * feat: config chat file expired time * 494 doc * 494 doc * 494 doc * update doc preview action
This commit is contained in:
4
.github/doc-sync-image.yml
vendored
Normal file
4
.github/doc-sync-image.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
yangchuansheng/fastgpt-imgs:
|
||||||
|
- source: docSite/assets/imgs/
|
||||||
|
dest: imgs/
|
||||||
|
deleteOrphaned: true
|
||||||
7
.github/workflows/docs-preview.yml
vendored
7
.github/workflows/docs-preview.yml
vendored
@@ -50,10 +50,6 @@ jobs:
|
|||||||
- 'docSite/content/docs/**'
|
- 'docSite/content/docs/**'
|
||||||
base: main
|
base: main
|
||||||
|
|
||||||
- name: Add cdn for images
|
|
||||||
run: |
|
|
||||||
sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs)
|
|
||||||
|
|
||||||
# Step 3 - Install Hugo (specific version)
|
# Step 3 - Install Hugo (specific version)
|
||||||
- name: Install Hugo
|
- name: Install Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
@@ -65,9 +61,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: cd docSite && hugo mod get -u github.com/colinwilson/lotusdocs@6d0568e && hugo -v --minify
|
run: cd docSite && hugo mod get -u github.com/colinwilson/lotusdocs@6d0568e && hugo -v --minify
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: ls ./docSite/public
|
|
||||||
|
|
||||||
# Step 5 - Push our generated site to Cloudflare
|
# Step 5 - Push our generated site to Cloudflare
|
||||||
- name: Deploy to Cloudflare Pages
|
- name: Deploy to Cloudflare Pages
|
||||||
id: deploy
|
id: deploy
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ weight: 796
|
|||||||
|
|
||||||
### 2. 更新镜像 tag
|
### 2. 更新镜像 tag
|
||||||
|
|
||||||
|
- 更新 FastGPT 镜像 tag: v4.9.4-alpha
|
||||||
|
- 更新 FastGPT 商业版镜像 tag: v4.9.4-alpha
|
||||||
|
- Sandbox 无需更新
|
||||||
|
- AIProxy 无需更新
|
||||||
|
|
||||||
### 3. 执行升级脚本
|
### 3. 执行升级脚本
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user