Skip to content

Commit

Permalink
fix pdf generation (chrome started adding a footer)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamalex committed Jan 14, 2024
1 parent 0af784c commit aaf6942
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
export ZOLA_PID=$!
sleep 5
curl localhost:1111/cv &> /dev/null
google-chrome --headless --run-all-compositor-stages-before-draw --print-to-pdf-no-header --print-to-pdf=static/alexlauni-resume.pdf http://localhost:1111/cv
google-chrome \
--headless \
--disable-gpu \
--run-all-compositor-stages-before-draw \
--no-pdf-header-footer \
--print-to-pdf-no-header \
--print-to-pdf=static/alexlauni-resume.pdf \
http://localhost:1111/cv
kill $ZOLA_PID
- name: Print github.ref (debugging)
Expand Down

0 comments on commit aaf6942

Please sign in to comment.