From c471dea656a6e36fd670a232f5ed5303619c39d3 Mon Sep 17 00:00:00 2001 From: sayande717 Date: Thu, 11 Apr 2024 09:05:54 +0530 Subject: [PATCH] . --- .github/workflows/generate-pdf.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-pdf.yaml b/.github/workflows/generate-pdf.yaml index a948b05..c9c5bfa 100644 --- a/.github/workflows/generate-pdf.yaml +++ b/.github/workflows/generate-pdf.yaml @@ -17,9 +17,9 @@ jobs: export fileName="$(echo "${{ github.event.head_commit.message }}" | sed 's/update: //; s/\.md$//')" export fileNameMD="$(echo "${{ github.event.head_commit.message }}" | sed 's/update: //')" export fileNamePDF="$(echo "${{ github.event.head_commit.message }}" | sed 's/update: //; s/\.md$//').pdf" - pandoc "./topics/${{fileNameMD}}" -o "./assets/pdf/$}}fileNamePDF}}" + pandoc "./topics/${fileNameMD}" -o "./assets/pdf/${fileNamePDF}" - name: Commit PDF run: | - git add "./assets/pdf/${{fileNamePDF}}" - git commit -m "pdf: ${{fileName}}" + git add "./assets/pdf/${fileNamePDF}" + git commit -m "pdf: ${fileName}" git push origin main