summaryrefslogtreecommitdiffstats
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/deploy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 0527505..07d65b5 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -161,6 +161,11 @@ for local in "${artifacts[@]}"; do
161 verified=$((verified + 1)) 161 verified=$((verified + 1))
162done 162done
163 163
164curl -fsSL --max-time 30 "$origin/robots.txt" -o "$tmp/robots.txt" \
165 || die "could not fetch robots.txt"
166grep -q "^Disallow: /$" "$tmp/robots.txt" \
167 || die "robots.txt does not disallow crawlers"
168
164curl -fsSL --max-time 30 "$origin/play/" -o "$tmp/play.html" \ 169curl -fsSL --max-time 30 "$origin/play/" -o "$tmp/play.html" \
165 || die "could not fetch the browser app at /play/" 170 || die "could not fetch the browser app at /play/"
166grep -q 'app.js' "$tmp/play.html" || die "/play/ does not reference app.js" 171grep -q 'app.js' "$tmp/play.html" || die "/play/ does not reference app.js"