From c747fc03ad8d45cba47620e7acbb349947d25fc0 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Thu, 4 Sep 2025 23:03:47 +0800 Subject: [PATCH] Update docs-deploy.yml (#5594) --- .github/workflows/docs-deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index f1e47e478..47307b491 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -78,12 +78,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - # - name: Rewrite image paths - # if: matrix.domain_config.suffix == 'io' - # 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: Rewrite image paths + if: matrix.domain_config.suffix == 'io' + 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: Docker meta id: meta