Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](build): I need output files #130

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading