cpina/github-action-push-to-another-repository

Sphinx plot_directive: _images directory not copied

0todd0000 opened this issue · 1 comments

Hello, thank you for this excellent action!

I've only experience one problem:

I'm using Sphinx's plot_directive to create some figures, and this creates a directory called _images in the build directory (./build/html/_images). When I attempt to push the html directory to another repo using this push-to-another-repository-deploy-keys-example action, everything is copied EXCEPT the _images directory.

Is there a way to force-copy the _images directory?

Thank you!

cpina commented

Please note: I don't have constant access to a computer the next few days so I might be slow to answer.

What I've seen before with this question was that the original repo had a .gitignore that was excluding some files/directores. So the .gitignore gets copied into the "destination repo" and then the git push to the repo is ignoring the files. Could you check all your .gitignores ?

If this fails: could you post a link to the source repo so I can have a look myself? (if the source repo is public)

Cheers!