Skip to content

Commit 6e7cb6c

Browse files
committed
build(pandoc_extra.yml): add example of deployment
An example how to use docker image pandoc-extra is added. This commit equally addresses issue #40. #40 Signed-off-by: Norwid Behrnd <[email protected]>
1 parent 2ea4e8d commit 6e7cb6c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pandoc_extra.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Usage Pandoc-Extra
2+
3+
on: push
4+
5+
jobs:
6+
convert_via_pandoc:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: create output folder
11+
run: |
12+
mkdir output
13+
- uses: docker://pandoc/extra:3.8
14+
with:
15+
args: >- # break string of arguments into multiple lines
16+
README.md --output=output/README.pdf
17+
--standalone
18+
--template /.pandoc/templates/eisvogel.latex
19+
--listings
20+
-V block-headings
21+
- uses: actions/upload-artifact@v4
22+
with:
23+
name: output
24+
path: output

0 commit comments

Comments
 (0)