Commit 3ae905a83e

3ae905a83edeab4296236c0cb95f4dc12f472db7

parent: c79db50c07

Unregistered key

Alicia Sykes <alicia@omg.lol> 路 2022-07-23 18:24 UTC
committer: <noreply@github.com>

Creates action for PDF compilation

Layout: unified 路 split

.github/workflows/compile-pdf.yml added +26
@@ -0,0 +1,26 @@
1# Generates and saved a PDF document from the main markdown file
2# Easier to read on certain devices, or for users with accesibility needs
3
4name: 馃搧 Compile PDF Document
5on:
6 workflow_dispatch: # Manual dispatch
7 schedule:
8 - cron: '0 5 * * 6' # Every Saturday morning.
9jobs:
10 # Job #1 - Generate an embedded SVG asset, showing all contributors
11 generate-contributors:
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v2
15 - uses: baileyjm02/markdown-to-pdf@v1
16 with:
17 input_path: README.md
18 output_dir: .github/assets/awesome-privacy.pdf
19 build_pdf: true
20 build_html: false
21 table_of_contents: false
22 - uses: actions/upload-artifact@v1
23 with:
24 name: docs
25 path: pdfs
26