Created
July 7, 2020 14:12
-
-
Save hasparus/82f3a91d05be05c1b370d83ccab305c9 to your computer and use it in GitHub Desktop.
Print GitHub readme to PDF with Pandoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Print readme to PDF | |
on: | |
push: | |
paths: ['readme.md', '.github/workflows/print-readme.yml'] | |
jobs: | |
make_pdf: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker://pandoc/latex:2.9 | |
with: | |
args: -f gfm --pdf-engine=xelatex --output=readme.pdf readme.md | |
- uses: actions/upload-artifact@master | |
with: | |
name: readme | |
path: readme.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
note for future: install
texlive-fonts-extra
forlibrebaskerville
?