Map generated PNGs to asciidoc build
Otherwise even if the HTML file includes resolve, the PDF includes won't
properly embed the images as they won't be available. Unfortunately this
makes the asciidoc build depend on the TeX build, which is annoying.
@@ -23,6 +23,8 @@ jobs:
- image: asciidoctor/docker-asciidoctor
steps:
- checkout
+ - attach_workspace:
+ at: ./
- run:
name: Generate Asciidoctor PDF/HTML Files
command: |
@@ -52,7 +54,9 @@ workflows:
docs:
jobs:
- generate_docs_tex
- - generate_docs_asciidoctor
+ - generate_docs_asciidoctor:
+ requires:
+ - generate_docs_tex
- upload_docs:
requires:
- generate_docs_tex
