mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 23:55:36 +00:00
fix: doc preview action;update doc (#5383)
* fix: doc preview action * update doc * dpc
This commit is contained in:
8
.github/workflows/docs-preview.yml
vendored
8
.github/workflows/docs-preview.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user