Repository navigation
Static site (4): GitHub Pages deploy workflow and custom domain - #78
Merged
Merged
Conversation
Add .github/workflows/pages.yml to build the Eleventy site plus the Pagefind index and publish to GitHub Pages, and a CNAME (github.blimacake.com) shipped in the built site. Deploys run on pushes to main that touch the site or recipes, and on manual dispatch. Add docs/site-deploy.md with the one-time owner setup (public repo, Pages source = GitHub Actions, DNS CNAME to jposluns.github.io, custom domain and HTTPS) and a note on moving the apex later. Verified: full npm run build produces the site, search index, sitemap, CNAME, and epub; workflow YAML is valid. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
Owner changed the subdomain from github.blimacake.com to new.blimacake.com. Update CNAME, the site canonical/OG/sitemap/robots base URL (site/_data/site.js), the pages workflow comment, the deploy doc (including the DNS host cell: new), and ADR 0003. Also restore the PR 3 CHANGELOG bullet header that was accidentally merged into the PR 4 entry. Rebuilt: CNAME, canonical, sitemap, and robots all use new.blimacake.com. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
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.
Final PR of the static-site phase (ADR 0003). Adds the deploy pipeline and custom domain. Please do not merge until Pages is enabled (see below); merging triggers a real deploy attempt.
Domain updated to
new.blimacake.com(owner's choice).What changed
.github/workflows/pages.yml. Builds the Eleventy site and the Pagefind index (npm cithennpm run build) and deploys it to GitHub Pages with the officialupload-pages-artifact/deploy-pagesactions. Runs on pushes tomainthat touch the site or recipes, and on manual dispatch. Scoped permissions (pages: write,id-token: write).site/CNAMEwithnew.blimacake.com, passthrough-copied into the built site.site/_data/site.jsbase URL set tohttps://new.blimacake.comso canonical, Open Graph, sitemap, and JSON-LD links use it.docs/site-deploy.mdwith the one-time owner setup and the DNS record.Verified locally
npm run buildproduces the full site, the Pagefind search index,sitemap.xml, theCNAME, and the embeddedBlimaCake.epub; canonical/sitemap/robots/CNAME all usenew.blimacake.com.One-time setup before this goes live (DNS advice)
new, targetjposluns.github.io.(that is the account's Pages host, not the repo).new.blimacake.com, then enable Enforce HTTPS once the cert issues.Until Pages is enabled, the deploy step fails by design. Once it is enabled, merging this PR (or any later push touching the site) deploys automatically.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis