Skip to content

Markdown to PDF

Markdown to PDF #18

Workflow file for this run

name: Markdown to PDF
# This workflow is triggered on pushes to the repository.
on:
workflow_dispatch:
push:
branches:
- main
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /input directory
paths:
- 'input/**.md'
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: input
output_dir: pdfs
build_html: false
- uses: actions/upload-artifact@v3
with:
name: pdfs
path: pdfs