Skip to content

Commit

Permalink
[fix](build): I need output files (#130)
Browse files Browse the repository at this point in the history
* [fix](build): I need output files

Signed-off-by: Ralph Hightower <[email protected]>

* [fix](build): GitHub Copilot suggestion(don't need RTF)

Signed-off-by: Ralph Hightower <[email protected]>

* [fix](build): see if pdfa works for images 

Signed-off-by: Ralph Hightower <[email protected]>

---------

Signed-off-by: Ralph Hightower <[email protected]>
  • Loading branch information
RalphHightower authored Jan 8, 2025
1 parent 5410cd8 commit 0fdd1a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
# --verbose \ # debug
# --output output/${FILE_NAME}.tex $f
# mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
pandoc --standalone --from markdown --to pdf --output output/${FILE_NAME}.pdf $f
pandoc --standalone --from markdown --to pdfa --output output/${FILE_NAME}.pdf $f
git add output/${FILE_NAME}.pdf
done
Expand All @@ -58,14 +58,6 @@ jobs:
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
git add output/${FILE_NAME}.rtf
done
- name: Check in documents
run : |
git commit -m "[docs](doc): adding output to GitHub"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.log
*.swo
*.swp
output/
result
result-*
.envrc
Expand Down

0 comments on commit 0fdd1a5

Please sign in to comment.