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 ab5925e commit c86935e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
fileName="$(echo "${{ github.event.head_commit.message }}" | sed 's/update: //; s/\.md$//')"
fileNameMD="$(echo "${{ github.event.head_commit.message }}" | sed 's/update: //')"
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 add "./assets/pdf/${{fileNamePDF}}"
git commit -m "pdf: ${{fileName}}"
git push origin main

0 comments on commit c86935e

Please sign in to comment.