Skip to content

Commit 8eab484

Browse files
committed
Validate SEO files in Pages workflow
1 parent 407ceb2 commit 8eab484

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
test -f docs/app.js
3333
test -f docs/site.webmanifest
3434
test -f docs/og-preview.svg
35+
test -f docs/robots.txt
36+
test -f docs/sitemap.xml
37+
grep -q "Process Bus Timing Lab" docs/index.html
38+
grep -q "SoftwareApplication" docs/index.html
39+
grep -q "Sitemap:" docs/robots.txt
3540
echo "Pages source preview:"
3641
find docs -maxdepth 2 -type f | sort | sed 's#^docs/##' | head -120
3742

0 commit comments

Comments
 (0)