mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00: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:
7
.github/workflows/docs-preview.yml
vendored
7
.github/workflows/docs-preview.yml
vendored
@@ -50,10 +50,6 @@ jobs:
|
||||
- 'docSite/content/docs/**'
|
||||
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)
|
||||
- name: Install Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
@@ -65,9 +61,6 @@ jobs:
|
||||
- name: Build
|
||||
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
|
||||
- name: Deploy to Cloudflare Pages
|
||||
id: deploy
|
||||
|
Reference in New Issue
Block a user