Skip to content

Commit

Permalink
Update markdown-to-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseloudon authored Oct 20, 2024
1 parent 782349d commit baf6aca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/markdown-to-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Date
id: set_date
run: echo "DATE=$(date +'%m-%Y')" >> $GITHUB_ENV
- name: Publish PDF Document
uses: baileyjm02/markdown-to-pdf@v1
id: publish-document
with:
input_path: README.md
images_dir: Awesome-Azure-Policy-Logo.svg
output_dir: generated
table_of_contents: true
build_html: true
Expand All @@ -26,5 +30,5 @@ jobs:
uses: actions/upload-artifact@v4
id: upload-document
with:
name: 'Awesome-Azure-Policy.pdf'
name: 'Awesome-Azure-Policy-${{ env.DATE }}.pdf'
path: generated

0 comments on commit baf6aca

Please sign in to comment.