-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About article lastUpdated #1522
Comments
Yeah that should be happening. Like in VitePress' docs, https://vitepress.vuejs.org/guide/deploying has |
https://github.com/codehzy/blog/blob/master/.github/workflows/release.yml . This is my blog action yml,Can you give me some advice |
Can you try replacing first step by this: - uses: actions/checkout@v3
with:
fetch-depth: 0 |
Cool. You are my savior and I change my files as you say.The redeployment met my expectations. name: release on: jobs:
|
`fetch-depth: 0` is necessary for last updated to work
Is your feature request related to a problem? Please describe.
The last update time of the file is the file I modified one time, not the last update time of all files becomes the last commit time
Describe the solution you'd like
I through vitepress docs,https://vitepress.vuejs.org/guide/deploying#github-pages.And create deploy.yml inside .github/workflows . Even if I change a certain file, at this time commit and push, the workflow work is completed. At this time, the last update time of all articles on my page is changed to this commit time. I hope that only the specific files I submit this time will be updated. The latest modification time
Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: