Skip to content

Commit

Permalink
chore: Add GitHub workflow to convert README to PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
manthanank committed Aug 10, 2024
1 parent 446c288 commit d873cb8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/md-to-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Convert README to PDF

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
convert-readme:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Pandoc
run: sudo apt-get install -y pandoc

- name: Install LaTeX
run: sudo apt-get install -y texlive

- name: Convert README.md to README.pdf
run: pandoc README.md -o README.pdf

- name: Upload README.pdf
uses: actions/upload-artifact@v2
with:
name: README-pdf
path: README.pdf

0 comments on commit d873cb8

Please sign in to comment.