Skip to content

Commit

Permalink
Adjust ImageMagick Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Sep 15, 2024
1 parent 0621efe commit f03fa69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/genpdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
run: |
sudo apt-get install -y imagemagick
- name: Adjust ImageMagick Policy
run: |
sudo sed -i '/<policy domain="coder" rights="none" pattern="PDF" \/>/d' /etc/ImageMagick-6/policy.xml
- name: Convert images to PDF
run: |
convert screenshots/*.png screenshots/output.pdf
Expand Down

0 comments on commit f03fa69

Please sign in to comment.