From 61f4bf51ad66374a6db310a8b90096e73c07ff19 Mon Sep 17 00:00:00 2001 From: Amos Date: Mon, 28 Oct 2024 15:16:37 +0800 Subject: [PATCH] Fix: Page last updated (#1518) --- .github/workflows/build.yml | 2 ++ .github/workflows/stage.yml | 2 ++ tool/translator/robots.txt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e0617430f..1cf75d8afc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,6 +129,8 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 with: submodules: recursive + # docs.flutter.cn | https://github.com/cfug/flutter.cn/pull/1518 + fetch-depth: 0 - name: Enable Corepack run: corepack enable - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index bf1759b607..89bc03eca6 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -23,6 +23,8 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 with: submodules: recursive + # docs.flutter.cn | https://github.com/cfug/flutter.cn/pull/1518 + fetch-depth: 0 - name: Enable Corepack run: corepack enable - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 diff --git a/tool/translator/robots.txt b/tool/translator/robots.txt index c2a49f4fb8..bd18479fbb 100644 --- a/tool/translator/robots.txt +++ b/tool/translator/robots.txt @@ -1,2 +1,4 @@ User-agent: * Allow: / + +Sitemap: https://docs.flutter.cn/sitemap.xml