mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-20 12:53:33 +08:00
fix: derive sitemap lastmod from git history instead of build date
Every sitemap URL got the build date as lastmod, so all pages claimed a change on each daily deploy, and the sponsorship page used file mtime, which on CI's fresh checkout is also build time. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,9 @@ jobs:
|
||||
url: https://awesome-python.com/
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
# build.py reads each page's last change from git history for the sitemap's lastmod
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
||||
|
||||
Reference in New Issue
Block a user