We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba7071 commit 0101959Copy full SHA for 0101959
.github/workflows/markdown-pdf.yml
@@ -0,0 +1,28 @@
1
+name: Generate PDF from README.md
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v2
16
17
+ - name: Install Pandoc
18
+ run: sudo apt-get install -y pandoc
19
20
+ - name: Convert README.md to PDF
21
+ run: pandoc README.md -o README.pdf
22
23
+ - name: Upload PDF artifact
24
+ uses: actions/upload-artifact@v2
25
+ with:
26
+ name: README-pdf
27
+ path: README.pdf
28
0 commit comments