Skip to content

Commit 71cb362

Browse files
[fix](build): add input directory (#119)
Signed-off-by: Ralph Hightower <[email protected]>
1 parent 610cdca commit 71cb362

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pandoc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
pandoc --standalone \ # --include-in-header styles/chmduquesne.css \
4141
--lua-filter=pdc-links-target-blank.lua \
4242
--from markdown --to html \
43-
--output output/${FILE_NAME}.html $f \
43+
--output output/${FILE_NAME}.html markdown/$f \
4444
--metadata pagetitle=$FILE_NAME
4545
git add output/${FILE_NAME}.html
4646
done
@@ -52,7 +52,7 @@ jobs:
5252
pandoc --standalone \ # --template styles/chmduquesne.tex \
5353
--from markdown --to context \
5454
--variable papersize=letter \
55-
--output output/${FILE_NAME}.tex $f
55+
--output output/${FILE_NAME}.tex markdown/$f
5656
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
5757
git add ${FILE_NAME}.pdf
5858
done
@@ -61,15 +61,15 @@ jobs:
6161
run: |
6262
for f in markdown/*.md; do
6363
FILE_NAME=$(basename "$f" | sed 's/.md//g')
64-
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.docx
64+
pandoc --standalone ${{ steps.version.outputs.smart_flag }} markdown/$f --output output/${FILE_NAME}.docx
6565
git add output/${FILE_NAME}.docx
6666
done
6767
6868
- name: Build RTF
6969
run: |
7070
for f in markdown/*.md; do
7171
FILE_NAME=$(basename "$f" | sed 's/.md//g')
72-
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.rtf
72+
pandoc --standalone ${{ steps.version.outputs.smart_flag }} markdown/$f --output output/${FILE_NAME}.rtf
7373
git add output/${FILE_NAME}.rtf
7474
done
7575

0 commit comments

Comments
 (0)