CI: Fix lastmod property of articles #44
					 1 changed files with 2 additions and 0 deletions
				
			
		CI: Fix lastmod property of articles
We use the git commit to determine the lastmod date, but the checkout action uses a shallow clone by default.
				commit
				
					
					
						dec278910e
					
				
			
		|  | @ -30,6 +30,8 @@ jobs: | ||||||
|           apk add rsync openssh |           apk add rsync openssh | ||||||
| 
 | 
 | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|  |         with: | ||||||
|  |           fetch-depth: 0 # pull full history for page lastmod by git commit date | ||||||
| 
 | 
 | ||||||
|       - name: Patch baseURL (staging only) |       - name: Patch baseURL (staging only) | ||||||
|         if: github.ref_name != 'main' |         if: github.ref_name != 'main' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue