Skip to content

Commit

Permalink
chore: Update release-pdf.yml to exclude Excalidraw files from PDF ge…
Browse files Browse the repository at this point in the history
…neration
  • Loading branch information
wzh4464 committed Jun 17, 2024
1 parent fd7102c commit 4527587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Convert Markdown to PDF with xelatex
run: |
mkdir -p pdfs
find . -name "Excalidraw" -prune -name "*.md" | while IFS= read -r file; do
find . -path "./Excalidraw" -prune -o -name "*.md" -print | while IFS= read -r file; do
pandoc "$file" -o "pdfs/$(basename "$file" .md).pdf" --pdf-engine=xelatex --template=template/my_template.latex
done
Expand Down

0 comments on commit 4527587

Please sign in to comment.