Skip to content

Commit

Permalink
create output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorReid committed Dec 23, 2023
1 parent dca1891 commit 5736a9f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/export-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ jobs:
run: sudo apt-get install -y fonts-noto

- name: Convert Markdown to PDF
run: pandoc wiki/Home.md -o wiki/output/output.pdf --resource-path=wiki --pdf-engine=xelatex --variable mainfont="Noto Sans" --variable sansfont="Noto Sans"
run: |
cd wiki
if [ ! -d "output" ]; then
mkdir output
fi
pandoc wiki/Home.md -o wiki/output/output.pdf --resource-path=wiki --pdf-engine=xelatex --variable mainfont="Noto Sans" --variable sansfont="Noto Sans"
- name: Commit changes
run: |
cd wiki
if ! git diff --quiet; then
git config user.name github-actions
git config user.email github-actions@github.com
Expand Down

0 comments on commit 5736a9f

Please sign in to comment.