Skip to content

Commit

Permalink
Test pdf generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bigscoop committed Aug 22, 2023
1 parent 13cd24c commit 5e3b218
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ jobs:
env:
JEKYLL_ENV: production

- name: HTML website to PDF converter
uses: ferdinandkeller/html-to-pdf-action@v1
- name: html to pdf
uses: misaelnieto/web_to_pdf_action@master
with:
source-path: './_site'
destination-path: './_site/assets/out.pdf'
webPageURL: https://dr-karpovich.github.io/online-cv/
outputFile: ./_site/assets/resume.pdf
usePuppeteer: true
useScreen: true
pdfOptions: '{"format": "Letter", "margin": {"top": "10mm", "left": "10mm", "right": "10mm", "bottom": "10mm"}}'

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
Expand Down

0 comments on commit 5e3b218

Please sign in to comment.