-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error in Add last modified time recipe code? #8779
Comments
Relying on Git history on CI platforms is a bit problematic. We document this on Starlight's I wrote about the specific case of Vercel, but the same applies to GH actions. The Maybe something like the Starlight docs would be good here, but I don't think it should have anything specific to any platform. This problem happens to almost all of them, and each has a different way to opt out of that behavior when they even have that option. |
When you say "maybe something like", do you mean adding the text about "this may not be accurate?", or do you mean trying to write the recipe "in the way that Starlight does it"? |
Adding this or something similar in the recipe:
|
Gotcha! Would accept a PR to this recipe that adds this after the introduction, just before the recipe starts, in a note:
|
📚 Subject area/topic
recipe -- remark plugin last modified time
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/recipes/modified-time/
📋 Description of content that is out-of-date or incorrect
From Feedback Fish:
The recipe works on my local dev server, but when i deploy it via github action, for some reason i got 'Invalid date' instead. Im not too sure how to troubleshoot this issue, and it would be great if the docs can cover that as an example as well
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: