From 54020a2b074c3ab651e86fdf3895e3c4209df886 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Tue, 3 Sep 2024 13:01:52 +0800 Subject: [PATCH] update (#48) Signed-off-by: Carson Yang --- .github/workflows/fastgpt-home-image.yml | 4 ++-- projects/fastgpt/Dockerfile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fastgpt-home-image.yml b/.github/workflows/fastgpt-home-image.yml index 9c22b0b..4fa9bdf 100644 --- a/.github/workflows/fastgpt-home-image.yml +++ b/.github/workflows/fastgpt-home-image.yml @@ -86,9 +86,9 @@ jobs: env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: - args: set image deployment/fastgpt-home fastgpt-home=registry.cn-hangzhou.aliyuncs.com/labring4docker/fastgpt-home:${{ needs.build-fastgpt-docs-images.outputs.tags }} + args: set image deployment/fastgpt-home fastgpt-home=registry.cn-hangzhou.aliyuncs.com/labring4docker/fastgpt-home:${{ needs.build-fastgpt-landingpage-images.outputs.tags }} - uses: actions-hub/kubectl@master env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: - args: annotate deployment/fastgpt-docs originImageName="registry.cn-hangzhou.aliyuncs.com/labring4docker/fastgpt-home:${{ needs.build-fastgpt-docs-images.outputs.tags }}" --overwrite \ No newline at end of file + args: annotate deployment/fastgpt-docs originImageName="registry.cn-hangzhou.aliyuncs.com/labring4docker/fastgpt-home:${{ needs.build-fastgpt-landingpage-images.outputs.tags }}" --overwrite \ No newline at end of file diff --git a/projects/fastgpt/Dockerfile b/projects/fastgpt/Dockerfile index b8e0c14..c55fab3 100644 --- a/projects/fastgpt/Dockerfile +++ b/projects/fastgpt/Dockerfile @@ -24,6 +24,7 @@ ADD . ./ RUN sed -i "s#https://doc.fastgpt.in#https://doc.fastgpt.cn#g" $(grep -rl "https://doc.fastgpt.in" ./) +RUN sed -i "s#https://doc.tryfastgpt.ai#https://doc.fastgpt.cn#g" $(grep -rl "https://doc.tryfastgpt.ai" ./) RUN sed -i "s/defaultLocale = \"en\"/defaultLocale = \"zh\"/g" lib/i18n.ts RUN npm install