Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 387 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 387 Bytes

html2pdf

Converts HTML files into PDF using chrome-headless-render-pdf.

Inputs

htmlPath

Required The file path of the HTML to convert. Default index.html.

pdfName

Required The PDF file name to use (excluding the .pdf extension). Default output.

Example usage

uses: markwilson/html2pdf@v1.0
with:
  htmlPath: 'test.html'
  pdfName: 'test'