From 42efaf55e82e1a088cca72be61c53bd3187930e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E7=AB=B9?= Date: Fri, 3 Mar 2023 00:52:07 +0800 Subject: [PATCH] =?UTF-8?q?seo=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gh-pages.yml | 2 ++ ads.txt | 1 + robots.txt | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 ads.txt create mode 100644 robots.txt diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d3d6475a..91935bcb 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,6 +12,8 @@ jobs: - run: yarn install - run: yarn build - run: mv googled29fba422c357ff8.html docs/ + - run: mv robot.txt docs/ + - run: mv ads.txt docs/ - run: node sitemap.js - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/ads.txt b/ads.txt new file mode 100644 index 00000000..88ac7767 --- /dev/null +++ b/ads.txt @@ -0,0 +1 @@ +google.com, pub-7962287588031867, DIRECT, f08c47fec0942fa0 \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..e0904b6f --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://vscode-api-cn.js.org/sitemap.xml