Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2020-08-21 13:46:26 +0300
committerTakuya Noguchi <takninnovationresearch@gmail.com>2020-10-26 11:11:13 +0300
commit3bc4eed848c61d8088653fcc4b10f3de9788f74b (patch)
tree4a9346550f9953f9918baf1d25aa9c07792417c5 /content/robots.txt.erb
parent7231349fd40cf4109af8043973c4faa0982025d4 (diff)
Use the default branch instead of master
Diffstat (limited to 'content/robots.txt.erb')
-rw-r--r--content/robots.txt.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/robots.txt.erb b/content/robots.txt.erb
index 8dbe5ba5..b368ca1e 100644
--- a/content/robots.txt.erb
+++ b/content/robots.txt.erb
@@ -2,7 +2,7 @@
is_hidden: true
---
-<% if ENV['CI_COMMIT_REF_NAME'] == 'master' %>
+<% if ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %>
sitemap: https://docs.gitlab.com/sitemap.xml
user-agent: *
disallow: /ce/