1
Fork 0
mirror of https://github.com/thegeneralist01/fphistoryru synced 2026-01-09 22:00:23 +01:00

Create convert-to-pdf.yml

This commit is contained in:
klapaucius 2023-12-01 19:39:51 +05:00 committed by GitHub
parent 80dae66b60
commit 06b39ec271
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/convert-to-pdf.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Docs to PDF
on:
push:
branches:
- main
paths:
- 'index.md'
jobs:
converttopdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_path: index.md
output_dir: pdfs
build_html: false
- uses: actions/upload-artifact@v3
with:
name: docs
path: pdfs