Skip to content

Commit

Permalink
use apt to install wkhtmltopdf.deb so dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
clinta committed Aug 15, 2023
1 parent eb93385 commit 6963745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install wkhtmltopdf
run: |
wget -O ${{ runner.temp }}/wkhtmltopdf.deb https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}.jammy_amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/wkhtmltopdf.deb
&& sudo apt install ${{ runner.temp }}/wkhtmltopdf.deb
- name: Generate Serverless Pages
env:
# For maximum backward compatibility with Hugo modules
Expand Down

0 comments on commit 6963745

Please sign in to comment.