Commit 3ae905a83e
Unregistered key
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 | ||
| 4 | name: 馃搧 Compile PDF Document | |
| 5 | on: | |
| 6 | workflow_dispatch: # Manual dispatch | |
| 7 | schedule: | |
| 8 | - cron: '0 5 * * 6' # Every Saturday morning. | |
| 9 | jobs: | |
| 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 | ||