Added install wkhtmltopdf step to github actions

This commit is contained in:
Sergei Tsoganov 2023-03-16 13:03:23 +02:00
parent a6ceba3100
commit c8b65f4328

View file

@ -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: |