Skip to content

Commit 5306670

Browse files
author
Manthan Ankolekar
committed
feat: added generate pdf yml
1 parent 4c28c67 commit 5306670

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/generate-pdf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
88
paths:
9-
- '**.md'
9+
- README.md
1010
- 'images/**'
1111

1212
jobs:
@@ -17,8 +17,8 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: baileyjm02/markdown-to-pdf@v1
1919
with:
20-
input_dir: docs
21-
output_dir: assets
20+
input_dir: README.md
21+
output_dir: assets/README.pdf
2222
images_dir: docs/images
2323
# for example <img src="./images/file-name.png">
2424
image_import: ./images

0 commit comments

Comments
 (0)