Skip to content

Commit

Permalink
fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
danpilch committed Jan 25, 2025
1 parent b82332f commit ec7dc33
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/generate-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ jobs:
DATE=$(date +"%Y-%m-%d")
mv resume/output/danpilch_resume.pdf resume/output/danpilch_resume_$DATE.pdf
- name: Create Git Tag
id: create_tag
run: |
DATE=$(date +"%Y-%m-%d")
TAG="resume-$DATE"
git tag $TAG
git push origin $TAG
echo "tag_name=$TAG" >> $GITHUB_ENV
- name: Upload PDF to Release
uses: softprops/action-gh-release@v1
with:
files: resume/output/danpilch_resume_*.pdf
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.tag_name }}

- name: Notify Success
run: echo "PDF generated and added to release."
- name: Upload PDF to Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit ec7dc33

Please sign in to comment.