From baf6acabfc62f5aa3c4c61c59bcf2b759ca388b6 Mon Sep 17 00:00:00 2001 From: Jesse Loudon <13147870+jesseloudon@users.noreply.github.com> Date: Mon, 21 Oct 2024 08:41:16 +1100 Subject: [PATCH] Update markdown-to-pdf.yml --- .github/workflows/markdown-to-pdf.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/markdown-to-pdf.yml b/.github/workflows/markdown-to-pdf.yml index 9efc16d..e625291 100644 --- a/.github/workflows/markdown-to-pdf.yml +++ b/.github/workflows/markdown-to-pdf.yml @@ -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 @@ -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