Skip to content

Commit 6f217c2

Browse files
committed
update doc preview action
1 parent 6c35f2c commit 6f217c2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/docs-preview.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ jobs:
5050
- 'docSite/content/docs/**'
5151
base: main
5252

53-
- name: Add cdn for images
54-
run: |
55-
sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs)
56-
5753
# Step 3 - Install Hugo (specific version)
5854
- name: Install Hugo
5955
uses: peaceiris/actions-hugo@v2
@@ -65,9 +61,6 @@ jobs:
6561
- name: Build
6662
run: cd docSite && hugo mod get -u github.com/colinwilson/lotusdocs@6d0568e && hugo -v --minify
6763

68-
- name: Test
69-
run: ls ./docSite/public
70-
7164
# Step 5 - Push our generated site to Cloudflare
7265
- name: Deploy to Cloudflare Pages
7366
id: deploy

0 commit comments

Comments
 (0)