Skip to content

Commit

Permalink
Merge pull request #21 from robert-will-brown/fix-workflow
Browse files Browse the repository at this point in the history
Here
  • Loading branch information
robert-will-brown authored Apr 11, 2024
2 parents 8ceb417 + d4703bc commit 9dbd8ea
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 9dbd8ea

Please sign in to comment.