Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sayande717 committed Apr 11, 2024
1 parent 8f46a01 commit c471dea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c471dea

Please sign in to comment.