Repository navigation
Point the deploy claims and metadataBase at GitHub Pages - #10
Closed
baptisterajaut wants to merge 1 commit into
Closed
baptisterajaut wants to merge 1 commit into
baptisterajaut wants to merge 1 commit into
Conversation
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.
Three stale references to Netlify, left over from the switch to GitHub Pages in 682eb6a.
https://rebench.netlify.app/now returns 404, andhttps://nilabh-code.github.io/ReBench/returns 200.basePath: "/ReBench"innext.config.tsmeans the Netlify build serves its assets under a prefix its own root does not have, so that deploy is dead rather than merely redundant. The Netlify checks still run on pull requests, which is why the preview looks healthy while the site is not.app/layout.tsxstill declaredmetadataBase: new URL("https://rebench.netlify.app"), so every canonical and Open Graph URL Next resolves would point at that 404. It is now the Pages origin, basePath included, which is where the site actually lives. My mistake in #1: I set it to Netlify because that was the live host at the time, and it went stale the moment the deploy target moved.The README said
npm run buildproduces a "production build (Next.js; deployed on Netlify)". Withoutput: "export"it is now a static export toout/, which is what the Pages workflow uploads, so that line describes the build wrongly as well as the host. Same for the contribution flow further down, where Netlify was named as the thing that rebuilds the leaderboard after merge.Verified: validate, 20/20 tests, typecheck, lint, and a build that exports 9 static pages to
out/.🤖 Generated with Claude Code