Skip to content

Commit 53b852c

Browse files
authored
Update deploy previews to disallow robots (#9861)
1 parent 9712a37 commit 53b852c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

bin/netlify.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
hugo version
22
hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="$DEPLOY_PRIME_URL"
3+
cp bin/staging-robots.txt public/robots.txt

bin/staging-robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /

0 commit comments

Comments
 (0)