Skip to content

Commit 384e623

Browse files
authored
Update main.yml
1 parent bab7ca4 commit 384e623

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ jobs:
2626
2727
- name: Generate directory tree for doc
2828
run: |
29-
tree doc -I '.git' > doc-tree.txt
29+
tree doc -I '.git' > doc-tree.md
3030
3131
- name: Merge Markdown files
3232
run: |
3333
touch combined.md
3434
cat doc/readme.md > combined.md
35-
find doc -type f -name "*.md" ! -name "readme.md" | sort | xargs -I {} sh -c 'cat "$@" >> combined.md' _ {}
35+
cat doc-tree.md > combined.md
36+
find doc -type f -name "*.md" ! -name "readme.md" !-name "doc-tree.md" | sort | xargs -I {} sh -c 'cat "$@" >> combined.md' _ {}
3637
3738
- name: Convert README.md to README.pdf
3839
run: pandoc combined.md -o README.pdf --pdf-engine=xelatex

0 commit comments

Comments
 (0)