layout | title | image | description | nav-menu |
---|---|---|---|---|
post |
CURRICULUM VITAE |
assets/images/pic00.jpg |
Resume rendered from markdown to pdf via github actions |
true |
Resume rendered from markdown to pdf via github actions
pandoc.yml
{% highlight yaml%} name: Pandoc on: push: paths: - "Pandoc/**" branches: - gh-pagesjobs: convert_via_pandoc: runs-on: ubuntu-18.04 steps: - name: Set up Git repository uses: actions/checkout@v3 - name: Convert with Pandoc uses: docker://pandoc/latex with: args: >- -o Pandoc/resume.pdf Pandoc/resume.md - name: Commit PDF run: | git config user.name github-actions git config user.email [email protected] git add Pandoc/resume.pdf git commit -m "Push resume.pdf" git push - uses: actions/upload-artifact@master with: name: resume.pdf path: Pandoc/resume.pdf
{% endhighlight %}