Update pandoc.yml #4
This file contains 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: Convert to pdf | |
on: push | |
jobs: | |
convert_via_pandoc: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create output folder | |
id: files_list | |
run: | | |
mkdir output # create output dir | |
- uses: docker://pandoc/extra:latest | |
with: | |
args: --listings -V geometry:a4paper,margin=2.5cm -V lang=fr-CH --template eisvogel README.md --output=output/result.pdf ${{ steps.files_list.outputs.files }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: output | |
path: output |