Repository navigation
Add site specs, gate deploy on them, ping IndexNow post-deploy - #25
Merged
Merged
Conversation
- Minitest specs via Bridgetown's test harness (bridgetown/test + rack-test) against the built output/: page metadata, broken internal links, redirects, sitemap/robots/feed, llms.txt, agent skills, api-catalog. - CI runs the specs on the production build; a failure blocks upload/deploy. Pull requests run build + specs only, in their own concurrency group. - Replace the build-time IndexNow plugin with a post-deploy workflow step, so pings only happen after a successful deploy. - Fix favicon/apple-icon/respond.js paths that 404'd on subpages. - Gemfile.lock: test gems plus pending Bridgetown 2.1.2 -> 2.2.2 update. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t, guard test-only require - IndexNow URLs come from the freshly built sitemap via a build job output, not the live (possibly CDN-stale) sitemap; skip when empty; pipefail - pages:write/id-token:write only on the deploy job; drop unused configure-pages - Rakefile tolerates missing test gems so rake deploy works with BUNDLE_WITHOUT=test Co-Authored-By: Claude Opus 5.5 <[email protected]>
GitHub Pages serves output/404.html for any missing URL, so no CDN config needed. Replaces the always-passing local-server 404 spec with checks that the page is branded, noindex, out of the sitemap, and uses only root-relative/absolute URLs (it's served at arbitrary depths). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
test/, using Bridgetown's Minitest harness (bridgetown/test+ rack-test) against the builtoutput/. 47 tests:h1, unique title/description, image alt text, no broken internal links/assets, markdown twinredirects.csvproduces a noindex meta-refresh pagellms.txtlinks, agent-skills digests, api-catalograke testruns on the production build between "Build site" and "Upload artifact", so a failing spec blocks the deploy. Pull requests run build + specs only (no upload, deploy, or IndexNow), in their own concurrency group so they can't bump a queued deploy.deploy-pages. It only pings after a successful deploy. Same payload;continue-on-errorso a failed ping doesn't mark the deploy red.favicon.ico,apple-icon-precomposed.pngandrespond.min.jswere relative paths that 404'd on every subpage. The link-check spec caught this.<link rel="canonical">. Added it inhead.html, matchingog:url.Heads up
Bridgetown is updated 2.1.2 → 2.2.2 (latest; Gemfile now pins
~> 2.2).Gemfile.lockalso has that update that was pending locally, plus the new test gems. Versions are at or above the recent Dependabot security bumps (rack 3.2.9, nokogiri 1.19.7, addressable 2.10.0).Run locally
This PR's own CI run is the first test of the PR-only path.
🤖 Generated with Claude Code