Skip to content

Docs to PDF

Docs to PDF #1

Workflow file for this run

# .github/workflows/convert-to-pdf.yml
name: Docs to PDF
# This workflow is triggered on pushes to the repository.
on:
workflow_dispatch
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: /
output_dir: pdfs
# images_dir: docs/images
# for example <img src="./images/file-name.png">
# image_import: ./images
# Default is true, can set to false to only get PDF files
build_html: false
- uses: actions/upload-artifact@v3
with:
name: docs
path: pdfs