fix: doc preview action;update doc (#5383)

* fix: doc preview action

* update doc

* dpc
This commit is contained in:
Archer
2025-08-04 18:10:58 +08:00
committed by GitHub
parent 61899d9baf
commit 16a74c909d
10 changed files with 285 additions and 318 deletions

View File

@@ -19,12 +19,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Rewrite image paths
run: |
find document/content/docs -name "*.mdx" -type f | while read file; do
sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
done
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get current datetime
id: datetime