build.i3wm.org: disallow search engine indexing (#4295)

related to https://github.com/i3/i3.github.io/issues/41
This commit is contained in:
Michael Stapelberg 2020-12-29 20:05:59 +01:00 committed by GitHub
parent da1a720782
commit 74b461e25e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ mkdir build.i3wm.org
cp -r deb/COPY-DOCS build.i3wm.org/docs
cd build.i3wm.org
echo build.i3wm.org > CNAME
# Disallow search engine indexing for build.i3wm.org: users should find the
# release version instead, and only developers should use build.i3wm.org.
echo 'User-Agent: *' > robots.txt
echo 'Disallow: /' >> robots.txt
git init
git config user.name "Travis CI"