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