From 3cdf40e3e3a08c542023f6ef0d99aaaca458cfb6 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Tue, 24 Dec 2019 08:42:07 +0100 Subject: [PATCH] Add robots.txt --- deploy.sh | 6 +----- docs/.vuepress/public/robots.txt | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 docs/.vuepress/public/robots.txt diff --git a/deploy.sh b/deploy.sh index 7926847..ead66ce 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,14 +3,10 @@ # abort on errors set -e -# build +echo "Building..." yarn build -# copy output files to $HOME/public echo "Copying files..." - rm -rf $HOME/public/* cp -R build/* $HOME/public -cp docs/img/favicon.ico $HOME/public -cp docs/img/logo.png $HOME/public diff --git a/docs/.vuepress/public/robots.txt b/docs/.vuepress/public/robots.txt new file mode 100644 index 0000000..c668054 --- /dev/null +++ b/docs/.vuepress/public/robots.txt @@ -0,0 +1,3 @@ +Sitemap: https://zndr.dk/sitemap.xml +User-agent: * +Disallow: -- 2.43.0