mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-21 05:35:04 +08:00
chore: add robots.txt
This commit is contained in:
parent
488be4417b
commit
9ab530f8fb
6
.github/workflows/build-test-docs.yml
vendored
6
.github/workflows/build-test-docs.yml
vendored
@ -69,6 +69,12 @@ jobs:
|
|||||||
yarn build
|
yarn build
|
||||||
ls -lR build
|
ls -lR build
|
||||||
|
|
||||||
|
- name: Set robots.txt
|
||||||
|
run: |
|
||||||
|
if [ -e docs/robots.txt ]; then
|
||||||
|
cp docs/robots.txt docs/build/robots.txt
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|||||||
const config = {
|
const config = {
|
||||||
title: 'Modular Avatar',
|
title: 'Modular Avatar',
|
||||||
tagline: 'Drag-and-drop avatar assembly',
|
tagline: 'Drag-and-drop avatar assembly',
|
||||||
url: 'https://modular-avatar.fushizen.net',
|
url: 'https://modular-avatar.nadena.dev',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
|
4
docs/robots.txt
Normal file
4
docs/robots.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /dev/
|
||||||
|
|
||||||
|
Sitemap: https://modular-avatar.nadena.dev/sitemap.xml
|
Loading…
Reference in New Issue
Block a user