Skip to content

GitHub action to convert HTML to PDF

License

Notifications You must be signed in to change notification settings

markwilson/html2pdf

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]
with:
  htmlPath: 'test.html'
  pdfName: 'test'