diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/deploy.sh | 5 |
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)) |
| 162 | done | 162 | done |
| 163 | 163 | ||
| 164 | curl -fsSL --max-time 30 "$origin/robots.txt" -o "$tmp/robots.txt" \ | ||
| 165 | || die "could not fetch robots.txt" | ||
| 166 | grep -q "^Disallow: /$" "$tmp/robots.txt" \ | ||
| 167 | || die "robots.txt does not disallow crawlers" | ||
| 168 | |||
| 164 | curl -fsSL --max-time 30 "$origin/play/" -o "$tmp/play.html" \ | 169 | curl -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/" |
| 166 | grep -q 'app.js' "$tmp/play.html" || die "/play/ does not reference app.js" | 171 | grep -q 'app.js' "$tmp/play.html" || die "/play/ does not reference app.js" |
