Skip to content

CI: full Git history for website builds (sitemap lastmod) - #109

Merged
tuanphungcz merged 1 commit into
mainfrom
website-sitemap-lastmod
Oct 11, 2026
Merged

tuanphungcz merged 1 commit into
mainfrom
website-sitemap-lastmod

Conversation

@tuanphungcz

Copy link
Copy Markdown
Collaborator

Production and preview builds checked out a shallow clone (actions/checkout default depth 1), so website/src/lib/git.ts found no history and the sitemaps shipped without <lastmod> (live: 0 of 300 icon URLs). The same dates feed dateModified on /documentation and updated in icons.json.

Adds fetch-depth: 0 to the website and preview checkouts. Locally with full history: sitemap index 3/3, pages 4/4, hubs 30/30, icons 300/300 entries have lastmod; build time unchanged (~19 s).

@github-actions

Copy link
Copy Markdown

🔎 Website preview

https://pr-109--affectionate-goldberg-13a61e.netlify.app

Updated for commit 9717ea4.

@tuanphungcz
tuanphungcz merged commit c762739 into main Oct 11, 2026
7 checks passed
@tuanphungcz
tuanphungcz deleted the website-sitemap-lastmod branch October 11, 2026 17:12

This branch was successfully deployed

1 active deployment
preview — 9717ea46 Deployed Oct 11, 2026 by tuanphungcz via preview #56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant