Skip to content

Commit

Permalink
template path
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh4464 committed Jun 17, 2024
1 parent c973554 commit b90909b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
run: |
mkdir -p pdfs
find . -path "./Excalidraw" -prune -o -name "*.md" -print | while IFS= read -r file; do
pandoc "$file" --resource-path=$(dirname $file) -o "pdfs/$(basename "$file" .md).pdf" --pdf-engine=xelatex --template=template/my_template.latex
echo "Converting $file to PDF..."
pandoc "$file" --resource-path=$(dirname $file) -o "pdfs/$(basename "$file" .md).pdf" --pdf-engine=xelatex --template=$PWD/template/my_template.latex
done
- name: Create Release
Expand Down

0 comments on commit b90909b

Please sign in to comment.