Skip to content
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

git error when building docs with the git-revision-date plugin #20

Open
jeromevdl opened this issue Apr 29, 2022 · 0 comments
Open

git error when building docs with the git-revision-date plugin #20

jeromevdl opened this issue Apr 29, 2022 · 0 comments

Comments

@jeromevdl
Copy link

A recent change in Git impacts our GitHub build. We have the error described here:

ERROR    -  Error reading page 'index.md': Cmd('git') failed due to: exit code(128)
  cmdline: git log -n 1 --date=short --format=%ad /docs/docs/index.md
  stderr: 'fatal: unsafe repository ('/docs' is owned by someone else)

Using the workaround didn't work as we are using mkdocs within a container (docker run --rm -t -v ${PWD}:/docs squidfunk/mkdocs-material build).

Until a solution is found, we have removed the plugin from our project. Let us know if you have a workaround or recommendations to use your plugin within GitHub actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant