Skip to content

Commit 5f86b23

Browse files
author
Manthan Ankolekar
committed
feat: added generate pdf yml
1 parent 68a1ee7 commit 5f86b23

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/generate-pdf.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate PDF
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Replace with your branch name if necessary
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: 14
20+
21+
- name: Install dependencies
22+
run: npm install markdown-pdf
23+
24+
- name: Generate PDF
25+
run: npx markdown-pdf README.md

0 commit comments

Comments
 (0)