This action performs a concatenation on markdown files within a directory.
- name: Concat document files
uses: bayssmekanique/action-md-concat@v1
with:
srcDir: ./docs
destFile: ./fullDoc.md
Required Path to directory of md files to concatenate.
Required Destination file path for concatenated file, including file name.
Optional Limit concatenation to specified number of files sorted by name. (Leave blank for no limit)
Optional Reverse ordering of concatenation to descending. (Leave blank for ascending ordering)
Optional String to use between each concatenated file. (Default: \n
)
© 2022 Zachary Cardoza under the MIT license.