Skip to content

Commit

Permalink
chore: Create markdown-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
manthanank authored Aug 10, 2024
1 parent 2ba7071 commit 0101959
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/markdown-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Generate PDF from README.md

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

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

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

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

0 comments on commit 0101959

Please sign in to comment.