Warez/.github/workflows/makepdfs.yml

30 lines
765 B
YAML
Raw Normal View History

# https://github.com/marketplace/actions/create-pdf-and-html
2020-06-11 09:20:06 +00:00
on: [push]
name: Docs to PDF
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
2020-06-11 09:20:06 +00:00
jobs:
converttopdf:
name: Build PDF
2020-06-11 09:20:06 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: baileyjm02/markdown-to-pdf@master
with:
input_dir: ./
output_dir: pdf
#images_dir: docs/images
# for example <img src="./images/file-name.png">
#images_path: ./images
# Default is true, can set to false to only get PDF files
build_html: true
- uses: actions/upload-artifact@v1
with:
name: docs
path: pdfs