Skip to content

Commit 0c83f25

Browse files
authored
Update PDF conversion workflow for CONDUCT.md
1 parent d080d5a commit 0c83f25

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/convert-to-pdf.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
99
paths:
1010
- '.github/workflows/convert-to-pdf.yml'
11+
- 'CONDUCT.md'
1112
# - 'docs/**.md'
1213
# - 'docs/images/**'
13-
- 'CONDUCT.md'
1414

1515
jobs:
1616
converttopdf:
@@ -21,13 +21,16 @@ jobs:
2121
- uses: baileyjm02/markdown-to-pdf@v1
2222
with:
2323
input_dir: CONDUCT.md
24+
output_dir: CONDUCT.pdf
25+
build_html: false
2426
# output_dir: pdfs
2527
# images_dir: docs/images
2628
# for example <img src="./images/file-name.png">
2729
# image_import: ./images
2830
# Default is true, can set to false to only get PDF files
29-
build_html: false
31+
# build_html: false
3032
- uses: actions/upload-artifact@v6
3133
with:
32-
name: docs
34+
name: PDF
3335
path: CONDUCT.pdf
36+
overwrite: true

0 commit comments

Comments
 (0)