Skip to content

Created workflow to convert checklist markdown to pdf #5

Created workflow to convert checklist markdown to pdf

Created workflow to convert checklist markdown to pdf #5

Workflow file for this run

name: Outbound Checklists Markdown to PDF
# This workflow is triggered on pushes to the repository.
on:
pull_request:
types: [opened, synchronize]
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
paths:
- 'tier*/checklist.md'
- 'assets/**'
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_path: tier1/checklist.md
images_dir: assets
output_dir: tier1/.github
# Default is true, can set to false to only get PDF files
build_html: false
- uses: actions/upload-artifact@v4
with:
name: checklist-generated
path: tier1/.github/checklist.pdf