Closed
Description
After the apparition of a cve and a correction pushed by git, we had an error when building the doc:
Error: fatal: unsafe repository ('/docs' is owned by someone else)
A git command (git log -n 1 --date=short
) is issued by the git-revision-date plugin (see here) within the mkdocs container and we cannot apply the workaround git config --global --add safe.directory ...
in the container.
We are removing the plugin temporarily (#853) to make the build work.
Expected Behavior
Using the plugin should work (the git log command performed by the plugin should not failed)
Current Behavior
The git command issued by the plugin fails.
Possible Solution
- Removing the plugin for the moment.
- Will also open an issue on https://github.com/zhaoterryy/mkdocs-git-revision-date-plugin
Steps to Reproduce (for bugs)
- Add the plugin git-revision-date in mkdocs.yml
- Let Github Actions run the build