Skip to content

Commit

Permalink
Merge pull request #20 from robert-will-brown/fix-workflow
Browse files Browse the repository at this point in the history
Fixin sudo
  • Loading branch information
robert-will-brown authored Apr 11, 2024
2 parents 2958909 + d631eab commit 8ceb417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/produce-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# A vunerabillty that existed in ghostscript no longer exists. This is to work around the temporary protection
# that was put in place
# https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
run: sed -i 's/rights="none" pattern="PDF"/rights="read | write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
run: sudo sed -i 's/rights="none" pattern="PDF"/rights="read | write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
- name: Generate Thumbnail for Page 1
uses: jruipinto/ImageMagick-action@v1
with:
Expand Down

0 comments on commit 8ceb417

Please sign in to comment.