timvink / mkdocs-git-revision-date-localized-plugin

MkDocs plugin to add a last updated date to your site pages
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html
MIT License
193 stars 39 forks source link

When building MkDocs with GitHub Actions, some warnings occured. #136

Closed jygzyc closed 3 months ago

jygzyc commented 3 months ago

After running mkdocs gh-deploy --force, the warning information is as follows:

WARNING:root:
                [git-revision-date-localized-plugin] Running on bitbucket pipelines might lead to wrong
                Git revision dates due to a shallow git fetch depth.

                Try setting "clone: depth" to "full" in your pipeline
                (see https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/
                and search 'depth').

GitHub Actions link

timvink commented 3 months ago

Ha yeah you're not running on bitbucket. Thanks for creating the issue

jygzyc commented 3 months ago

Ha yeah you're not running on bitbucket. Thanks for creating the issue

I happened to discover this issue while checking the GitHub Actions workflow, and I appreciate your handling of it.