Skip to content

Commit

Permalink
Merge pull request #7 from erikbosch/erik_chrome
Browse files Browse the repository at this point in the history
Change PDF renderer to Chrome
  • Loading branch information
UlfBj authored Apr 9, 2024
2 parents b81364f + 8e465f3 commit bb49605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pdf_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:

- name: Building
run: |
sudo apt-get install htmldoc -y
htmldoc --webpage -f VISSv2_Core.pdf spec/VISSv2_Core.html
htmldoc --webpage -f VISSv2_Transport.pdf spec/VISSv2_Transport.html
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
google-chrome-stable --headless --print-to-pdf=VISSv2_Core.pdf spec/VISSv2_Core.html
google-chrome-stable --headless --print-to-pdf=VISSv2_Transport.pdf spec/VISSv2_Transport.html
- name: "Upload PDFs"
uses: actions/upload-artifact@v4
Expand Down
Binary file added spec/images/covesa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb49605

Please sign in to comment.