markdown-to-confluence icon indicating copy to clipboard operation
markdown-to-confluence copied to clipboard

Error when running in a git repo

Open das74 opened this issue 4 years ago • 1 comments

When running the script in a local git repo with all MD files stored in docs/I get the error raise InvalidGitRepositoryError(epath) To solve this, I added search_parent_directories=True to the Repo object, so that line 247 in markdown-to-confluence.py is now: repo = git.Repo(args.git, search_parent_directories=True) This seems to avoid the error, but now the script tries this: Attempting to deploy docs/__pycache__/convert.cpython-39.pyc which results in Skipping docs/__pycache__/convert.cpython-39.pyc since it's not a supported format. Do you have any hint what do do?

das74 avatar Jul 07 '21 16:07 das74

Did you add and commit the docs folder? - I had the same until I did that

robbrad avatar Feb 07 '22 18:02 robbrad