Skip to content

HTML to PDF

Actions
Converts HTML file to PDF
v0.1.0
Latest
Star (27)

HTML to PDF

A GitHub Action that converts a HTML file to PDF.

✨ Example Usage

- name: html to pdf
  uses: fifsky/html-to-pdf-action@master
  with:
    htmlFile: ./public/index.html
    outputFile: ./public/resume.pdf
    pdfOptions: '{"format": "A4", "margin": {"top": "10mm", "left": "10mm", "right": "10mm", "bottom": "10mm"}}'

pdfOptions relate to puppeteers page.pdf options

HTML to PDF is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Converts HTML file to PDF
v0.1.0
Latest

HTML to PDF is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.