mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-19 12:45:02 +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
|
||||
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
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||
const config = {
|
||||
title: 'Modular Avatar',
|
||||
tagline: 'Drag-and-drop avatar assembly',
|
||||
url: 'https://modular-avatar.fushizen.net',
|
||||
url: 'https://modular-avatar.nadena.dev',
|
||||
baseUrl: '/',
|
||||
onBrokenLinks: 'throw',
|
||||
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