Skip to content

Commit 29c6b67

Browse files
committed
#35: Fixes for release number part of file name
1 parent 0bdcfec commit 29c6b67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/png.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
repository: "maxpowis/cv"
2929
tag: ${{ steps.cv_release.outputs.release }}
30-
file: cv.pdf
30+
file: cv-maxpowis-${{ steps.cv_release.outputs.release }}.pdf
3131
- name: Convert pdf to png (ImageMagick)
3232
uses: jruipinto/ImageMagick-action@v1
3333
with:
34-
command: convert -verbose -background white -alpha remove -alpha off -density 600 -scale 10% cv.pdf cv-%02d.png
34+
command: convert -verbose -background white -alpha remove -alpha off -density 600 -scale 10% cv-maxpowis-${{ steps.cv_release.outputs.release }}.pdf cv-%02d.png
3535
- name: Move PNG's in isolated directory
3636
run: mkdir --parents cv; mv *.png $_
3737
- name: Upload png artifacts to worflow
@@ -50,4 +50,4 @@ jobs:
5050
destination_folder: 'assets/img/cv'
5151
user_email: 'max.powis@gmail.com'
5252
user_name: 'maxpowis'
53-
commit_msg: 'Update the cv.pdf thumbnails'
53+
commit_msg: 'Update the cv-maxpowis-${{ steps.cv_release.outputs.release }}.pdf thumbnails'

0 commit comments

Comments
 (0)