sphinx-action
sphinx-action copied to clipboard
make latexpdf failes
My GitHub action includes following job:
- name: build pdf doc
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: 'apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended'
build-command: 'make latexpdf'
docs-folder: 'doc'
Also see
https://github.com/fraunhofer-isi/micat/blob/dd3c19369f16eeec4fc3db761d0597c28188a8d5/.github/workflows/doc_pdf.yml
Folder structure:
I get following error:
====================================
Building docs in doc
Traceback (most recent call last):
====================================
File "/entrypoint.py", line 22, in <module>
[sphinx-action] Running: ['make', 'latexpdf', '-e']
action.build_all_docs(github_env, [os.environ.get("INPUT_DOCS-FOLDER")])
[sphinx-action] Build failed with 0 warnings
File "/sphinx_action/action.py", line 167, in build_all_docs
raise RuntimeError("Build failed")
=> How to fix this?
Related:
https://github.com/ammaraskar/sphinx-action/issues/32