Skip to content

Commit

Permalink
[fix](build): add input directory (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Hightower <[email protected]>
  • Loading branch information
RalphHightower authored Jan 8, 2025
1 parent 610cdca commit 71cb362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
pandoc --standalone \ # --include-in-header styles/chmduquesne.css \
--lua-filter=pdc-links-target-blank.lua \
--from markdown --to html \
--output output/${FILE_NAME}.html $f \
--output output/${FILE_NAME}.html markdown/$f \
--metadata pagetitle=$FILE_NAME
git add output/${FILE_NAME}.html
done
Expand All @@ -52,7 +52,7 @@ jobs:
pandoc --standalone \ # --template styles/chmduquesne.tex \
--from markdown --to context \
--variable papersize=letter \
--output output/${FILE_NAME}.tex $f
--output output/${FILE_NAME}.tex markdown/$f
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
git add ${FILE_NAME}.pdf
done
Expand All @@ -61,15 +61,15 @@ jobs:
run: |
for f in markdown/*.md; do
FILE_NAME=$(basename "$f" | sed 's/.md//g')
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.docx
pandoc --standalone ${{ steps.version.outputs.smart_flag }} markdown/$f --output output/${FILE_NAME}.docx
git add output/${FILE_NAME}.docx
done
- name: Build RTF
run: |
for f in markdown/*.md; do
FILE_NAME=$(basename "$f" | sed 's/.md//g')
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.rtf
pandoc --standalone ${{ steps.version.outputs.smart_flag }} markdown/$f --output output/${FILE_NAME}.rtf
git add output/${FILE_NAME}.rtf
done
Expand Down

0 comments on commit 71cb362

Please sign in to comment.