Skip to content

Commit

Permalink
Here
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Brown committed Apr 11, 2024
1 parent acf9a7d commit 0b2f3f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/produce-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ jobs:
# https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
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:
command: |
convert -density 700 -resize 10% -append -quality 98 -alpha remove rb-cv.pdf[0] rb-cv-thumbnail-p1.jpg
#uses: jruipinto/ImageMagick-action@v1
run: convert -density 700 -resize 10% -append -quality 98 -alpha remove rb-cv.pdf[0] rb-cv-thumbnail-p1.jpg
- name: Generate Thumbnail for Page 2
uses: jruipinto/ImageMagick-action@v1
with:
Expand Down

0 comments on commit 0b2f3f8

Please sign in to comment.