Skip to content

Commit

Permalink
update (#48)
Browse files Browse the repository at this point in the history
Signed-off-by: Carson Yang <[email protected]>
  • Loading branch information
yangchuansheng authored Sep 3, 2024
1 parent e5c3e45 commit 54020a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fastgpt-home-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
args: annotate deployment/fastgpt-docs originImageName="registry.cn-hangzhou.aliyuncs.com/labring4docker/fastgpt-home:${{ needs.build-fastgpt-landingpage-images.outputs.tags }}" --overwrite
1 change: 1 addition & 0 deletions projects/fastgpt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54020a2

Please sign in to comment.