From 4398b6297a01fd77f1c9c1e85fd3d1e23be7cbb1 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Thu, 18 Jul 2024 11:07:31 +0800 Subject: [PATCH] Update workflow to change baseurl for cn site Signed-off-by: Carson Yang --- .github/workflows/docs-deploy-kubeconfig.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs-deploy-kubeconfig.yml b/.github/workflows/docs-deploy-kubeconfig.yml index e38d53485f2..c6e4ba01f6b 100644 --- a/.github/workflows/docs-deploy-kubeconfig.yml +++ b/.github/workflows/docs-deploy-kubeconfig.yml @@ -16,6 +16,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Change baseURL + run: sed -i 's|^baseURL =.*|baseURL = "https://doc.fastgpt.cn"|g' ./docSite/hugo.toml + - name: Get current date and time id: datetime run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT"