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:
parent
80dae66b60
commit
06b39ec271
1 changed files with 24 additions and 0 deletions
24
.github/workflows/convert-to-pdf.yml
vendored
Normal file
24
.github/workflows/convert-to-pdf.yml
vendored
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue