mirror of
https://github.com/labring/FastGPT.git
synced 2026-01-28 01:10:33 +08:00
4.11.2 dev (#5368)
* 4.11.2 dev (#103) * update document * update doc * update doc * doc img * action * fix action * fix: action * fix: action * perf: action * doc * perf: action
This commit is contained in:
6
.github/workflows/docs-preview.yml
vendored
6
.github/workflows/docs-preview.yml
vendored
@@ -20,6 +20,12 @@ jobs:
|
||||
- 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
|
||||
|
||||
- name: Get current datetime
|
||||
id: datetime
|
||||
run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user