Skip to content

Commit

Permalink
Use latest 2* version of pandoc for builds, fix invalid output
Browse files Browse the repository at this point in the history
  • Loading branch information
jagregory committed Feb 25, 2022
1 parent b666b0d commit 5dac320
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
FILES=$(cat filelist.txt)
echo "::set-output name=input_files::$FILES"
- name: pandoc html
uses: docker://pandoc/core:2.9
uses: docker://pandoc/core:2
with:
args: 'pandoc --to html5+smart -o out/html/black-book.html --section-divs --toc --standalone --template=html/template.html ${{ steps.files.outputs.input_files }}'
entrypoint: /usr/local/bin/pandoc
args: '--to html5+smart -o out/html/black-book.html --section-divs --toc --standalone --template=html/template.html ${{ steps.files.outputs.input_files }}'
- uses: actions/upload-artifact@v2
with:
path: out
Expand All @@ -46,9 +47,10 @@ jobs:
FILES=$(cat filelist.txt)
echo "::set-output name=input_files::$FILES"
- name: pandoc epub
uses: docker://pandoc/core:2.9
uses: docker://pandoc/core:2
with:
args: 'pandoc --to epub3+smart -o out/black-book.epub --epub-cover-image images/cover.png --toc --epub-chapter-level=2 --data-dir=epub --template=epub/template.html ${{ steps.files.outputs.input_files }}'
entrypoint: /usr/local/bin/pandoc
args: '--to epub3+smart -o out/black-book.epub --epub-cover-image images/cover.png --toc --epub-chapter-level=2 --data-dir=epub --template=epub/template.html ${{ steps.files.outputs.input_files }}'
- name: kindlegen
uses: docker://jagregory/kindlegen
with:
Expand Down

0 comments on commit 5dac320

Please sign in to comment.