Skip to content

Commit

Permalink
Added install wkhtmltopdf step to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Mar 16, 2023
1 parent a6ceba3 commit c8b65f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
bundle config set deployment '[secure]'
bundle env
head -n1 $(which bundle)
- name: Install wkhtmltopdf (push)
run: |
sudo apt-get install -y xfonts-base xfonts-75dpi
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb
if: github.event_name == 'push'

- name: Set ENV for codeclimate (pull_request)
run: |
Expand Down

0 comments on commit c8b65f4

Please sign in to comment.